Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.001282/0.001282, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.001412/0.001412, allocations: 221.6 kB / 22.25 MB, free: 5.262 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.391/1.391, allocations: 230.6 MB / 256 MB, free: 7.793 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.1337/0.1337, allocations: 23.93 MB / 336.4 MB, free: 10.91 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.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",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.002018/0.002018, allocations: 67.91 kB / 471.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3304, allocations: 59.87 MB / 0.5186 GB, free: 9.594 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2): time 0.0716/0.402, allocations: 24.05 MB / 0.5421 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.4132, allocations: 8.078 MB / 0.55 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004865/0.4137, allocations: 19.88 kB / 0.55 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.4143, allocations: 196.5 kB / 0.5502 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009363/0.4153, allocations: 362.9 kB / 0.5505 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.419, allocations: 1.437 MB / 0.5519 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.42, allocations: 0.6755 MB / 0.5526 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.4204, allocations: 181 kB / 0.5528 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.4208, allocations: 338.3 kB / 0.5531 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.4213, allocations: 346.4 kB / 0.5534 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.089e-05/0.4213, allocations: 36 kB / 0.5535 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.4233, allocations: 0.7976 MB / 0.5542 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.4235, allocations: 124.3 kB / 0.5544 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.4238, allocations: 216.2 kB / 0.5546 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.4264, allocations: 1.519 MB / 0.556 GB, free: 2.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4264, allocations: 0.6562 kB / 0.556 GB, free: 2.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4264, allocations: 0 / 0.556 GB, free: 2.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4264, allocations: 0 / 0.556 GB, free: 2.551 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001497/0.4279, allocations: 0.8905 MB / 0.5569 GB, free: 1.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.428, allocations: 12.03 kB / 0.5569 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.194e-05/0.4281, allocations: 66.16 kB / 0.557 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/0.4289, allocations: 158.8 kB / 0.5571 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007127/0.4296, allocations: 398.2 kB / 0.5575 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.4296, allocations: 29.03 kB / 0.5575 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.4297, allocations: 27.94 kB / 0.5576 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.4306, allocations: 0.5382 MB / 0.5581 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4306, allocations: 0 / 0.5581 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.4307, allocations: 12 kB / 0.5581 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4307, allocations: 12 kB / 0.5581 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.432, allocations: 0.7909 MB / 0.5589 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.4347, allocations: 1.779 MB / 0.5606 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.4352, allocations: 197.3 kB / 0.5608 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.4354, allocations: 131.8 kB / 0.5609 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002992/0.4384, allocations: 1.295 MB / 0.5622 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.4384, allocations: 31.36 kB / 0.5622 GB, free: 12.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.4384, allocations: 0 / 0.5622 GB, free: 12.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006577/0.4391, allocations: 306 kB / 0.5625 GB, free: 12.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.4391, allocations: 56.11 kB / 0.5626 GB, free: 12.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000589/0.4397, allocations: 493.2 kB / 0.5631 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.4398, allocations: 29.7 kB / 0.5631 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.44, allocations: 293.2 kB / 0.5634 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.4401, allocations: 69.95 kB / 0.5634 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.4402, allocations: 101.6 kB / 0.5635 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.4404, allocations: 362.2 kB / 0.5639 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.4406, allocations: 86.09 kB / 0.564 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.441, allocations: 362.4 kB / 0.5643 GB, free: 10.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/0.4416, allocations: 0.4925 MB / 0.5648 GB, free: 10.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.4416, allocations: 4 kB / 0.5648 GB, free: 10.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007797/0.4423, allocations: 497.4 kB / 0.5653 GB, free: 9.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4424, allocations: 8 kB / 0.5653 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4424, allocations: 12 kB / 0.5653 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.4424, allocations: 12 kB / 0.5653 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.4427, allocations: 107.8 kB / 0.5654 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.4428, allocations: 19.92 kB / 0.5654 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.443, allocations: 63.5 kB / 0.5655 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/0.4431, allocations: 32 kB / 0.5655 GB, free: 9.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0002016/0.4433, allocations: 177.8 kB / 0.5657 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.4434, allocations: 51.67 kB / 0.5657 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007473/0.4441, allocations: 391.8 kB / 0.5661 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4441, allocations: 0 / 0.5661 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4441, allocations: 0 / 0.5661 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4441, allocations: 3.938 kB / 0.5661 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008623/0.445, allocations: 0.6695 MB / 0.5668 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.445, allocations: 3.938 kB / 0.5668 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.395e-05/0.4451, allocations: 20.11 kB / 0.5668 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.4451, allocations: 4 kB / 0.5668 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4451, allocations: 0 / 0.5668 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4451, allocations: 4.062 kB / 0.5668 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4451, allocations: 4 kB / 0.5668 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.4454, allocations: 201 kB / 0.567 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4455, allocations: 59.59 kB / 0.567 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.4456, allocations: 7.938 kB / 0.567 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.4457, allocations: 0 / 0.567 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.4457, allocations: 11.98 kB / 0.5671 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.4457, allocations: 11.94 kB / 0.5671 GB, free: 7.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000479/0.4462, allocations: 410.8 kB / 0.5675 GB, free: 7.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4462, allocations: 0 / 0.5675 GB, free: 7.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007873/0.447, allocations: 247.2 kB / 0.5677 GB, free: 6.871 MB / 414.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.001225/0.4482, allocations: 1.045 MB / 0.5687 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.4486, allocations: 221.2 kB / 0.5689 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4486, allocations: 0.875 kB / 0.5689 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.631e-05/0.4487, allocations: 35.98 kB / 0.569 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.4493, allocations: 115.6 kB / 0.5691 GB, free: 5.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.4545, allocations: 4.152 MB / 0.5731 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.4547, allocations: 211.8 kB / 0.5733 GB, free: 0.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003963/0.4551, allocations: 140.1 kB / 0.5735 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.4554, allocations: 167.4 kB / 0.5736 GB, free: 372 kB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4554, allocations: 4 kB / 0.5736 GB, free: 368 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/0.4996, allocations: 14.52 MB / 0.5878 GB, free: 2.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.16, allocations: 7.984 kB / 0.5878 GB, free: 1.996 MB / 430.1 MB " [Timeout remaining time 649] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.673940316017251] Failed to read output from testmodel.py, exit status != 0: 11.275055356993107 11.298600177 10.867879573 Calling exit ...