Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 112.8 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 202.3 kB / 22.11 MB, free: 0.9531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 55.92 kB / 343 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2304, allocations: 49.13 MB / 392.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002578/0.233, allocations: 1.831 MB / 393.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2343, allocations: 0.9691 MB / 394.9 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.2344, allocations: 2.25 kB / 394.9 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005163/0.2349, allocations: 172.3 kB / 395.1 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.2352, allocations: 122.4 kB / 395.2 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.2355, allocations: 153.2 kB / 395.3 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.2357, allocations: 204.8 kB / 395.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.384e-05/0.2358, allocations: 17.3 kB / 395.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.2359, allocations: 80.64 kB / 395.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.236, allocations: 97.16 kB / 395.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.236, allocations: 13.88 kB / 395.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.2361, allocations: 59.14 kB / 395.8 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.2362, allocations: 45.72 kB / 395.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.2363, allocations: 76.73 kB / 395.9 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.2365, allocations: 220.4 kB / 396.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2365, allocations: 0 / 396.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2365, allocations: 1.375 kB / 396.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2365, allocations: 0.7031 kB / 396.1 MB, free: 6.223 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006437/0.2372, allocations: 0.5307 MB / 396.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.2372, allocations: 13.78 kB / 396.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.395e-05/0.2372, allocations: 5.156 kB / 396.7 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.116e-05/0.2373, allocations: 36 kB / 396.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.2373, allocations: 25.33 kB / 396.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.2375, allocations: 259.7 kB / 397 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.2375, allocations: 7.688 kB / 397 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.2376, allocations: 5.703 kB / 397 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.2378, allocations: 124.1 kB / 397.1 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2378, allocations: 1.219 kB / 397.1 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2378, allocations: 1.062 kB / 397.1 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2378, allocations: 1.156 kB / 397.1 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.2379, allocations: 54.09 kB / 397.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.2384, allocations: 0.6038 MB / 397.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.2386, allocations: 128.4 kB / 397.9 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.2387, allocations: 46.44 kB / 398 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.2387, allocations: 7.688 kB / 398 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.2389, allocations: 120.9 kB / 398.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2389, allocations: 0 / 398.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000382/0.2393, allocations: 178.8 kB / 398.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.2393, allocations: 130.7 kB / 398.4 MB, free: 4.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.2395, allocations: 289 kB / 398.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2395, allocations: 31.95 kB / 398.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.2396, allocations: 130.5 kB / 398.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.2396, allocations: 25.19 kB / 398.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.2396, allocations: 33.23 kB / 398.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.2397, allocations: 334.8 kB / 399.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.2398, allocations: 33.02 kB / 399.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.2399, allocations: 90.12 kB / 399.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.24, allocations: 97.36 kB / 399.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.24, allocations: 1.469 kB / 399.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002396/0.2403, allocations: 139.7 kB / 399.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2403, allocations: 9.781 kB / 399.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2403, allocations: 1.344 kB / 399.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2403, allocations: 2.125 kB / 399.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.2404, allocations: 18.06 kB / 399.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2404, allocations: 6.453 kB / 399.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.2405, allocations: 15.23 kB / 399.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2405, allocations: 9.797 kB / 399.6 MB, free: 3.309 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.358e-05/0.2406, allocations: 150.8 kB / 399.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.2406, allocations: 18.09 kB / 399.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.2407, allocations: 28.84 kB / 399.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2407, allocations: 2.031 kB / 399.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2407, allocations: 5.031 kB / 399.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2407, allocations: 1.797 kB / 399.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.2409, allocations: 242.8 kB / 400.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2409, allocations: 1.125 kB / 400.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.2409, allocations: 9.344 kB / 400.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2409, allocations: 1.891 kB / 400.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.2409, allocations: 3.578 kB / 400.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2409, allocations: 5.25 kB / 400.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2409, allocations: 3.938 kB / 400.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.2412, allocations: 180.4 kB / 400.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.2413, allocations: 92.7 kB / 400.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.2413, allocations: 7.891 kB / 400.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.2414, allocations: 12.38 kB / 400.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.2414, allocations: 23.05 kB / 400.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.2414, allocations: 5.75 kB / 400.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.2416, allocations: 213.3 kB / 400.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2416, allocations: 0 / 400.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.2419, allocations: 36.48 kB / 400.7 MB, free: 2.539 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001665/0.2436, allocations: 1.03 MB / 401.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.2438, allocations: 88.97 kB / 401.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2438, allocations: 4.188 kB / 401.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.2439, allocations: 48.45 kB / 401.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2443, allocations: 51.33 kB / 401.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.2463, allocations: 2.181 MB / 404.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.2467, allocations: 0.7332 MB / 404.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.724e-05/0.2468, allocations: 26 kB / 404.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.2469, allocations: 56.25 kB / 404.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2469, allocations: 0 / 404.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.2693, allocations: 5.178 MB / 410 MB, free: 13.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.213, allocations: 10.2 kB / 410.1 MB, free: 13.4 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources_fmu --startTime=0 --stopTime=10 --stepSize=0.00199283 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.41642933303956] Failed to read output from testmodel.py, exit status != 0: ['time', 'table.y'] 8.393215550982859 8.422054696 8.180771301 Calling exit ...