Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108.6 kB / 18.49 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 197 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.6 MB / 249.8 MB, free: 3.582 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 51.92 kB / 366.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09174, allocations: 52.14 MB / 418.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003087/0.09483, allocations: 1.841 MB / 420.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.09645, allocations: 1.044 MB / 421.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.09653, allocations: 8 kB / 421.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.09709, allocations: 162.8 kB / 421.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.09738, allocations: 123.5 kB / 421.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.09783, allocations: 179.5 kB / 421.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.09809, allocations: 199.4 kB / 422 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.09819, allocations: 13.56 kB / 422 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.09832, allocations: 91.55 kB / 422.1 MB, free: 9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.09845, allocations: 91.66 kB / 422.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.09848, allocations: 12 kB / 422.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.09861, allocations: 55.91 kB / 422.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.09869, allocations: 51.83 kB / 422.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.53e-05/0.09877, allocations: 75.53 kB / 422.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.09909, allocations: 219.1 kB / 422.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.0991, allocations: 3.938 kB / 422.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0991, allocations: 3.938 kB / 422.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.0991, allocations: 0 / 422.6 MB, free: 8.496 MB / 350.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.0009047/0.1, allocations: 0.5233 MB / 423.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1, allocations: 8.031 kB / 423.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.031e-05/0.1001, allocations: 8.188 kB / 423.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.1001, allocations: 34.73 kB / 423.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.1002, allocations: 24.8 kB / 423.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1005, allocations: 266.4 kB / 423.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1005, allocations: 4 kB / 423.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1005, allocations: 7.938 kB / 423.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.1008, allocations: 113.5 kB / 423.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1008, allocations: 7.984 kB / 423.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1008, allocations: 0 / 423.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1008, allocations: 4 kB / 423.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.101, allocations: 51.91 kB / 423.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.1016, allocations: 0.6145 MB / 424.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.1019, allocations: 123.8 kB / 424.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.102, allocations: 50.56 kB / 424.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.102, allocations: 4 kB / 424.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.1023, allocations: 117.9 kB / 424.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.1023, allocations: 0 / 424.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004699/0.1027, allocations: 181.4 kB / 424.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.1028, allocations: 136.4 kB / 424.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.1032, allocations: 289 kB / 425.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1032, allocations: 29.7 kB / 425.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1033, allocations: 124.3 kB / 425.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.1033, allocations: 27.84 kB / 425.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.1034, allocations: 25.72 kB / 425.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1036, allocations: 338.9 kB / 425.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.1036, allocations: 31.98 kB / 425.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.1038, allocations: 84.45 kB / 425.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.104, allocations: 96.25 kB / 425.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.104, allocations: 0 / 425.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002903/0.1043, allocations: 149.9 kB / 426 MB, free: 4.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1043, allocations: 4 kB / 426 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1043, allocations: 128 / 426 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1043, allocations: 7.938 kB / 426.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.1044, allocations: 20.08 kB / 426.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1044, allocations: 7.938 kB / 426.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1045, allocations: 19.94 kB / 426.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1045, allocations: 4 kB / 426.1 MB, free: 4.645 MB / 350.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 0.0001473/0.1047, allocations: 145.7 kB / 426.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.1047, allocations: 19.86 kB / 426.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.1048, allocations: 25.66 kB / 426.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1048, allocations: 11.92 kB / 426.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1048, allocations: 4 kB / 426.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1048, allocations: 0 / 426.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.105, allocations: 241.5 kB / 426.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1051, allocations: 0 / 426.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.1051, allocations: 15.92 kB / 426.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1051, allocations: 4 kB / 426.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1051, allocations: 3.938 kB / 426.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1051, allocations: 0 / 426.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1051, allocations: 4 kB / 426.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.1054, allocations: 174.7 kB / 426.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.1055, allocations: 93 kB / 426.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.1055, allocations: 11.94 kB / 426.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.1056, allocations: 7.984 kB / 426.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.1057, allocations: 23.86 kB / 426.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1057, allocations: 4 kB / 426.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002205/0.1059, allocations: 220.4 kB / 427.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1059, allocations: 0 / 427.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1062, allocations: 39.92 kB / 427.1 MB, free: 3.512 MB / 350.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.001985/0.1082, allocations: 1.026 MB / 428.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.1084, allocations: 91.83 kB / 428.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1084, allocations: 0 / 428.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1086, allocations: 47.92 kB / 428.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1089, allocations: 61.17 kB / 428.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.1116, allocations: 2.154 MB / 430.5 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.112, allocations: 0.7396 MB / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.725e-05/0.112, allocations: 25.53 kB / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1121, allocations: 59.41 kB / 431.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1121, allocations: 0 / 431.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.1343, allocations: 5.181 MB / 436.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.033, allocations: 12.38 kB / 436.5 MB, free: 10.2 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_ShowLogicalSources_fmu --startTime=0 --stopTime=10 --stepSize=0.00199283 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_ShowLogicalSources.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.516893759020604] Failed to read output from testmodel.py, exit status != 0: ['time', 'table.y'] 8.207832448999397 8.41595045 8.313714754 Calling exit ...