Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.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.001577/0.001577, allocations: 111.6 kB / 16.46 MB, free: 6.035 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.001767/0.001767, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0886/0.0886, allocations: 15.54 MB / 318.2 MB, free: 10.2 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) 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(Chemical.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 444.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1042, allocations: 56.54 MB / 0.4897 GB, free: 4.879 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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 1.4.1-master/package.mo:3019:6-3019: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.Examples.CheckSubstancesData.SimpleReaction2): time 0.4203/0.5245, allocations: 24.02 MB / 0.5132 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008393/0.5329, allocations: 9.196 MB / 0.5221 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.5332, allocations: 9.375 kB / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.5339, allocations: 222.4 kB / 0.5224 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009475/0.5348, allocations: 355.7 kB / 0.5227 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.5386, allocations: 1.428 MB / 0.5241 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009346/0.5396, allocations: 0.6595 MB / 0.5247 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.5399, allocations: 204.3 kB / 0.5249 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.5402, allocations: 324 kB / 0.5253 GB, free: 472 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.5407, allocations: 353 kB / 0.5256 GB, free: 400 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.5408, allocations: 34.12 kB / 0.5256 GB, free: 400 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.5434, allocations: 0.8355 MB / 0.5264 GB, free: 308 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.5436, allocations: 115.7 kB / 0.5265 GB, free: 288 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.5439, allocations: 264.4 kB / 0.5268 GB, free: 204 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004153/0.5481, allocations: 1.508 MB / 0.5283 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.5481, allocations: 0 / 0.5283 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5481, allocations: 0 / 0.5283 GB, free: 15.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.532e-05/0.5481, allocations: 0 / 0.5283 GB, free: 15.75 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.002838/0.5509, allocations: 0.966 MB / 0.5292 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.551, allocations: 9.375 kB / 0.5292 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.5511, allocations: 68.72 kB / 0.5293 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.5522, allocations: 157 kB / 0.5294 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009639/0.5532, allocations: 467 kB / 0.5299 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.5532, allocations: 21.03 kB / 0.5299 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.5533, allocations: 31.59 kB / 0.5299 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009393/0.5542, allocations: 0.5323 MB / 0.5305 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.5543, allocations: 0 / 0.5305 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.5543, allocations: 12.38 kB / 0.5305 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.5543, allocations: 7.438 kB / 0.5305 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.5557, allocations: 0.8076 MB / 0.5313 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.5588, allocations: 1.892 MB / 0.5331 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.5593, allocations: 193.9 kB / 0.5333 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.5595, allocations: 128.5 kB / 0.5334 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004057/0.5636, allocations: 2.705 MB / 0.5361 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.5636, allocations: 35.78 kB / 0.5361 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.5636, allocations: 0 / 0.5361 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006519/0.5643, allocations: 296.1 kB / 0.5364 GB, free: 10.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.5643, allocations: 58.55 kB / 0.5364 GB, free: 10.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.5649, allocations: 480.4 kB / 0.5369 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.565, allocations: 31.11 kB / 0.5369 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.5652, allocations: 300.5 kB / 0.5372 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.5653, allocations: 63.09 kB / 0.5373 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.5655, allocations: 105.3 kB / 0.5374 GB, free: 9.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.5657, allocations: 360.3 kB / 0.5377 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.5658, allocations: 89.69 kB / 0.5378 GB, free: 9.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.5663, allocations: 357.3 kB / 0.5381 GB, free: 8.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006203/0.5669, allocations: 496.9 kB / 0.5386 GB, free: 8.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.5669, allocations: 7.359 kB / 0.5386 GB, free: 8.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008652/0.5678, allocations: 494.5 kB / 0.5391 GB, free: 8.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5678, allocations: 9.781 kB / 0.5391 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.5678, allocations: 10.78 kB / 0.5391 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.5678, allocations: 12.25 kB / 0.5391 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.5682, allocations: 114.5 kB / 0.5392 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.99e-05/0.5682, allocations: 22.5 kB / 0.5392 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.5686, allocations: 68.56 kB / 0.5393 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.5686, allocations: 38.89 kB / 0.5394 GB, free: 8.062 MB / 398.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.0002278/0.5689, allocations: 170.1 kB / 0.5395 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/0.569, allocations: 49.02 kB / 0.5396 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000841/0.5698, allocations: 397.4 kB / 0.5399 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.5698, allocations: 1.641 kB / 0.5399 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5698, allocations: 4 kB / 0.5399 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.5698, allocations: 5.75 kB / 0.54 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.5709, allocations: 0.7153 MB / 0.5406 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.5709, allocations: 9.188 kB / 0.5407 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.858e-05/0.5709, allocations: 12.44 kB / 0.5407 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.571, allocations: 6.266 kB / 0.5407 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.571, allocations: 2.156 kB / 0.5407 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.571, allocations: 6.094 kB / 0.5407 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.571, allocations: 4.078 kB / 0.5407 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.5712, allocations: 196.4 kB / 0.5409 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.5714, allocations: 134.9 kB / 0.541 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.5714, allocations: 10.62 kB / 0.541 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.5716, allocations: 6.219 kB / 0.541 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.5716, allocations: 3.5 kB / 0.541 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.5716, allocations: 6.719 kB / 0.541 GB, free: 6.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004911/0.5721, allocations: 414.2 kB / 0.5414 GB, free: 6.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5721, allocations: 1.094 kB / 0.5414 GB, free: 6.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009513/0.573, allocations: 259 kB / 0.5417 GB, free: 6.504 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.001359/0.5744, allocations: 1.034 MB / 0.5427 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004574/0.5749, allocations: 219.9 kB / 0.5429 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5749, allocations: 0 / 0.5429 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.172e-05/0.5749, allocations: 35.3 kB / 0.5429 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.5756, allocations: 118.8 kB / 0.543 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0055/0.5811, allocations: 4.149 MB / 0.5471 GB, free: 2.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.5815, allocations: 0.8091 MB / 0.5479 GB, free: 1.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004319/0.5819, allocations: 140.6 kB / 0.548 GB, free: 1.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.5822, allocations: 170.4 kB / 0.5482 GB, free: 1.617 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5822, allocations: 0 / 0.5482 GB, free: 1.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/0.6208, allocations: 13.14 MB / 0.561 GB, free: 11.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.971/9.592, allocations: 12.5 kB / 0.561 GB, free: 11.07 MB / 414.1 MB " [Timeout remaining time 650] (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2.fmu > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.13268303219229] Failed to read output from testmodel.py, exit status != 0: 9.668505486100912 9.680331913 9.12961619 Calling exit ...