Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.001374/0.001374, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00167/0.00167, allocations: 213.2 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1414/0.1414, allocations: 23.99 MB / 336.4 MB, free: 10.85 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 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.002327/0.002327, allocations: 67.89 kB / 471.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3486, allocations: 59.89 MB / 0.5187 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004061/0.3527, allocations: 2.832 MB / 0.5215 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006687/0.3594, allocations: 5.534 MB / 0.5269 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000441/0.3598, allocations: 12.28 kB / 0.5269 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.3604, allocations: 141 kB / 0.527 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008785/0.3613, allocations: 251.9 kB / 0.5273 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.3647, allocations: 0.9774 MB / 0.5282 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009212/0.3656, allocations: 492.3 kB / 0.5287 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.3659, allocations: 147.6 kB / 0.5289 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.3663, allocations: 230.2 kB / 0.5291 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004901/0.3668, allocations: 242.3 kB / 0.5293 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.3669, allocations: 25.19 kB / 0.5293 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.3686, allocations: 0.5216 MB / 0.5298 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3688, allocations: 81.03 kB / 0.5299 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.369, allocations: 156.2 kB / 0.5301 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.3717, allocations: 1.032 MB / 0.5311 GB, free: 1.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3717, allocations: 0 / 0.5311 GB, free: 1.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3717, allocations: 0 / 0.5311 GB, free: 1.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.3717, allocations: 1.031 kB / 0.5311 GB, free: 1.895 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001555/0.3733, allocations: 0.6929 MB / 0.5317 GB, free: 1.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.3733, allocations: 10.03 kB / 0.5318 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.644e-05/0.3734, allocations: 55.02 kB / 0.5318 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000648/0.3741, allocations: 116.7 kB / 0.5319 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.3748, allocations: 318.6 kB / 0.5322 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.3748, allocations: 17.47 kB / 0.5322 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.895e-05/0.3749, allocations: 26.16 kB / 0.5323 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.3755, allocations: 377.9 kB / 0.5326 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3755, allocations: 3.938 kB / 0.5326 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.3755, allocations: 10.88 kB / 0.5326 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3756, allocations: 5.594 kB / 0.5326 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008919/0.3764, allocations: 0.5381 MB / 0.5332 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.3787, allocations: 1.336 MB / 0.5345 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.3791, allocations: 157.9 kB / 0.5346 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.3793, allocations: 87.69 kB / 0.5347 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002234/0.3816, allocations: 0.9441 MB / 0.5356 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3816, allocations: 31.94 kB / 0.5357 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.933e-06/0.3816, allocations: 0 / 0.5357 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005231/0.3821, allocations: 231.1 kB / 0.5359 GB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3822, allocations: 52.78 kB / 0.5359 GB, free: 14.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.3826, allocations: 384.4 kB / 0.5363 GB, free: 14.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.3826, allocations: 29.7 kB / 0.5363 GB, free: 14.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.3828, allocations: 228.2 kB / 0.5365 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.3829, allocations: 49.55 kB / 0.5366 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.383, allocations: 75.95 kB / 0.5367 GB, free: 14.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3832, allocations: 346.1 kB / 0.537 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3833, allocations: 63.59 kB / 0.5371 GB, free: 14.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.3836, allocations: 238.1 kB / 0.5373 GB, free: 13.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.3841, allocations: 340.6 kB / 0.5376 GB, free: 13.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.3841, allocations: 1.562 kB / 0.5376 GB, free: 13.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006451/0.3848, allocations: 345.1 kB / 0.5379 GB, free: 13.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3848, allocations: 8.719 kB / 0.5379 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.3848, allocations: 8.969 kB / 0.538 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.3848, allocations: 11.81 kB / 0.538 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.3851, allocations: 73.44 kB / 0.538 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/0.3851, allocations: 18.7 kB / 0.5381 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.3854, allocations: 40.05 kB / 0.5381 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.3854, allocations: 27.72 kB / 0.5381 GB, free: 13.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001917/0.3856, allocations: 158 kB / 0.5383 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/0.3857, allocations: 36.42 kB / 0.5383 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006174/0.3863, allocations: 284.6 kB / 0.5386 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3863, allocations: 0.9688 kB / 0.5386 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3863, allocations: 3.938 kB / 0.5386 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3863, allocations: 5.625 kB / 0.5386 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/0.3872, allocations: 0.5868 MB / 0.5392 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3872, allocations: 5.344 kB / 0.5392 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.3872, allocations: 11.28 kB / 0.5392 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3873, allocations: 6.781 kB / 0.5392 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3873, allocations: 2.375 kB / 0.5392 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.3873, allocations: 1.812 kB / 0.5392 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3873, allocations: 3.094 kB / 0.5392 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.3875, allocations: 188.1 kB / 0.5394 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.3877, allocations: 40.31 kB / 0.5394 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.3877, allocations: 11.78 kB / 0.5394 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3878, allocations: 2.25 kB / 0.5394 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.3879, allocations: 5.625 kB / 0.5394 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3879, allocations: 6.969 kB / 0.5394 GB, free: 12.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004213/0.3883, allocations: 318.8 kB / 0.5397 GB, free: 12.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3883, allocations: 0 / 0.5397 GB, free: 12.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006755/0.389, allocations: 167.6 kB / 0.5399 GB, free: 12.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001199/0.3902, allocations: 0.9066 MB / 0.5408 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003572/0.3905, allocations: 160.4 kB / 0.5409 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3905, allocations: 1.156 kB / 0.5409 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.3906, allocations: 27.16 kB / 0.541 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.3912, allocations: 101.5 kB / 0.5411 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.3957, allocations: 3.259 MB / 0.5442 GB, free: 8.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.3959, allocations: 170.3 kB / 0.5444 GB, free: 8.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003614/0.3963, allocations: 99.8 kB / 0.5445 GB, free: 8.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.3965, allocations: 117.5 kB / 0.5446 GB, free: 8.738 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3965, allocations: 0 / 0.5446 GB, free: 8.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04414/0.4406, allocations: 10.85 MB / 0.5552 GB, free: 3.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.06, allocations: 11.16 kB / 0.5552 GB, free: 3.57 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.735168505925685] Failed to read output from testmodel.py, exit status != 0: 12.171090858988464 12.186049497 11.811221074 Calling exit ...