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.00131/0.00131, allocations: 113 kB / 18.94 MB, free: 2.934 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.001492/0.001492, allocations: 210.3 kB / 22.25 MB, free: 5.086 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 8.004 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.1358/0.1358, allocations: 23.89 MB / 336.3 MB, free: 11.14 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.00197/0.00197, allocations: 67.89 kB / 471.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 59.88 MB / 0.5187 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003691/0.3306, allocations: 3.032 MB / 0.5216 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005952/0.3365, allocations: 6.343 MB / 0.5278 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.3369, allocations: 11.31 kB / 0.5278 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.3374, allocations: 153.6 kB / 0.528 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006609/0.3381, allocations: 251 kB / 0.5282 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.3406, allocations: 0.9775 MB / 0.5292 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007247/0.3413, allocations: 489.3 kB / 0.5296 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.3415, allocations: 143.4 kB / 0.5298 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.3418, allocations: 233.3 kB / 0.53 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.3422, allocations: 258.5 kB / 0.5302 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/0.3422, allocations: 27.91 kB / 0.5303 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.344, allocations: 0.5561 MB / 0.5308 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3441, allocations: 81.7 kB / 0.5309 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.3443, allocations: 185.8 kB / 0.5311 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.3466, allocations: 1.038 MB / 0.5321 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3466, allocations: 4.828 kB / 0.5321 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3466, allocations: 0 / 0.5321 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.3466, allocations: 1 kB / 0.5321 GB, free: 0.6562 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.001165/0.3478, allocations: 0.6955 MB / 0.5328 GB, free: 140 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3478, allocations: 9.75 kB / 0.5328 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.3479, allocations: 55.05 kB / 0.5328 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/0.3484, allocations: 109.4 kB / 0.5329 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.3491, allocations: 322.5 kB / 0.5332 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3491, allocations: 17.97 kB / 0.5333 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.3492, allocations: 26.34 kB / 0.5333 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.3498, allocations: 382.5 kB / 0.5336 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3498, allocations: 0 / 0.5336 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.3499, allocations: 11.7 kB / 0.5337 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3499, allocations: 5.781 kB / 0.5337 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008816/0.3508, allocations: 0.545 MB / 0.5342 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.3529, allocations: 1.38 MB / 0.5355 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.3532, allocations: 163.6 kB / 0.5357 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.3534, allocations: 87.3 kB / 0.5358 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002119/0.3555, allocations: 0.9685 MB / 0.5367 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3555, allocations: 35.72 kB / 0.5368 GB, free: 13.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3555, allocations: 0 / 0.5368 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005278/0.3561, allocations: 225 kB / 0.537 GB, free: 13.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3561, allocations: 53.62 kB / 0.537 GB, free: 13.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.3566, allocations: 377.4 kB / 0.5374 GB, free: 13.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3566, allocations: 25.7 kB / 0.5374 GB, free: 13.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.3568, allocations: 231.1 kB / 0.5376 GB, free: 13.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.3568, allocations: 51.44 kB / 0.5377 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3569, allocations: 78.25 kB / 0.5378 GB, free: 13.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3571, allocations: 342.7 kB / 0.5381 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3572, allocations: 64.11 kB / 0.5381 GB, free: 12.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.3575, allocations: 243 kB / 0.5384 GB, free: 12.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.3579, allocations: 343.7 kB / 0.5387 GB, free: 12.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3579, allocations: 1.25 kB / 0.5387 GB, free: 12.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005896/0.3585, allocations: 348.2 kB / 0.539 GB, free: 12.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3585, allocations: 7.75 kB / 0.539 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.3586, allocations: 11.66 kB / 0.5391 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.3586, allocations: 12.25 kB / 0.5391 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.3588, allocations: 76.5 kB / 0.5391 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.3588, allocations: 18.09 kB / 0.5392 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.3591, allocations: 40.05 kB / 0.5392 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.3591, allocations: 25.75 kB / 0.5392 GB, free: 12.07 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.0001864/0.3593, allocations: 158.7 kB / 0.5394 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.3594, allocations: 36.27 kB / 0.5394 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005547/0.3599, allocations: 282 kB / 0.5397 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3599, allocations: 1.375 kB / 0.5397 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3599, allocations: 3.938 kB / 0.5397 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.36, allocations: 0.6094 kB / 0.5397 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008615/0.3608, allocations: 0.6078 MB / 0.5403 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3608, allocations: 2.031 kB / 0.5403 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.288e-05/0.3609, allocations: 10.72 kB / 0.5403 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3609, allocations: 2.344 kB / 0.5403 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3609, allocations: 2.062 kB / 0.5403 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3609, allocations: 2.562 kB / 0.5403 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3609, allocations: 1.219 kB / 0.5403 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.3612, allocations: 187.1 kB / 0.5405 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3613, allocations: 44.09 kB / 0.5405 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.3613, allocations: 11.61 kB / 0.5405 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3614, allocations: 6.719 kB / 0.5405 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.3615, allocations: 4.875 kB / 0.5405 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.3615, allocations: 7.203 kB / 0.5405 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004159/0.3619, allocations: 314 kB / 0.5408 GB, free: 10.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3619, allocations: 3.938 kB / 0.5408 GB, free: 10.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006962/0.3626, allocations: 169 kB / 0.541 GB, free: 10.84 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.001245/0.3638, allocations: 0.9178 MB / 0.5419 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.3642, allocations: 156.6 kB / 0.5421 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3642, allocations: 1.75 kB / 0.5421 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.187e-05/0.3643, allocations: 31.98 kB / 0.5421 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.3648, allocations: 96.31 kB / 0.5422 GB, free: 9.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.3694, allocations: 3.25 MB / 0.5453 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.3698, allocations: 0.7756 MB / 0.5461 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003386/0.3702, allocations: 100.4 kB / 0.5462 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.3704, allocations: 116.5 kB / 0.5463 GB, free: 6.805 MB / 398.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3704, allocations: 0 / 0.5463 GB, free: 6.805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04596/0.4163, allocations: 10.11 MB / 0.5562 GB, free: 2.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.74, allocations: 5.328 kB / 0.5562 GB, free: 2.547 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.284545577131212] Failed to read output from testmodel.py, exit status != 0: 11.84525999496691 11.861749166 11.511916474 Calling exit ...