Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001958/0.001958, allocations: 113 kB / 16.46 MB, free: 6.453 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.00251/0.00251, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.155/0.155, allocations: 23.85 MB / 332.7 MB, free: 12.36 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_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.002367/0.002367, allocations: 75.88 kB / 466 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.363, allocations: 59.81 MB / 0.5135 GB, free: 8.832 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.03618/0.3992, allocations: 24.24 MB / 0.5371 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.412, allocations: 9.246 MB / 0.5462 GB, free: 7.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006289/0.4126, allocations: 15.88 kB / 0.5462 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008966/0.4135, allocations: 211.9 kB / 0.5464 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.4151, allocations: 365 kB / 0.5467 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005107/0.4202, allocations: 1.422 MB / 0.5481 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.4216, allocations: 0.664 MB / 0.5488 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.4221, allocations: 204.9 kB / 0.549 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.4227, allocations: 330 kB / 0.5493 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007352/0.4234, allocations: 349.4 kB / 0.5496 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.4236, allocations: 36 kB / 0.5497 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.4269, allocations: 0.8309 MB / 0.5505 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.4271, allocations: 116.7 kB / 0.5506 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004576/0.4276, allocations: 267.3 kB / 0.5508 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004624/0.4322, allocations: 1.529 MB / 0.5523 GB, free: 2.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4322, allocations: 4 kB / 0.5523 GB, free: 2.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4322, allocations: 0 / 0.5523 GB, free: 2.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.4323, allocations: 0 / 0.5523 GB, free: 2.332 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.002031/0.4343, allocations: 0.9601 MB / 0.5533 GB, free: 1.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4343, allocations: 8.031 kB / 0.5533 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.4345, allocations: 66.16 kB / 0.5533 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008805/0.4353, allocations: 162.8 kB / 0.5535 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/0.4362, allocations: 460 kB / 0.5539 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.4363, allocations: 25.03 kB / 0.554 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.4363, allocations: 35.94 kB / 0.554 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.4374, allocations: 0.5257 MB / 0.5545 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4374, allocations: 7.938 kB / 0.5545 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/0.4374, allocations: 16.8 kB / 0.5545 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.4375, allocations: 8 kB / 0.5545 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.439, allocations: 0.8104 MB / 0.5553 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.442, allocations: 1.893 MB / 0.5572 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.4425, allocations: 201 kB / 0.5574 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.4428, allocations: 122.8 kB / 0.5575 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003914/0.4467, allocations: 2.718 MB / 0.5601 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.4468, allocations: 35.45 kB / 0.5602 GB, free: 10.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.994e-06/0.4468, allocations: 3.938 kB / 0.5602 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007065/0.4475, allocations: 298.3 kB / 0.5605 GB, free: 10.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.4475, allocations: 51.41 kB / 0.5605 GB, free: 10.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/0.4482, allocations: 482.3 kB / 0.561 GB, free: 9.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.4483, allocations: 29.7 kB / 0.561 GB, free: 9.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.4485, allocations: 300.7 kB / 0.5613 GB, free: 9.578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.4486, allocations: 66.09 kB / 0.5613 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.4488, allocations: 97.66 kB / 0.5614 GB, free: 9.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.449, allocations: 361.6 kB / 0.5618 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.4492, allocations: 90.52 kB / 0.5619 GB, free: 9.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.4497, allocations: 357.1 kB / 0.5622 GB, free: 8.547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.4504, allocations: 0.4927 MB / 0.5627 GB, free: 7.941 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.4504, allocations: 4 kB / 0.5627 GB, free: 7.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009596/0.4513, allocations: 496.7 kB / 0.5632 GB, free: 7.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4514, allocations: 14.81 kB / 0.5632 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.4514, allocations: 8.609 kB / 0.5632 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.4514, allocations: 12 kB / 0.5632 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.4518, allocations: 111.9 kB / 0.5633 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-05/0.4518, allocations: 18.56 kB / 0.5633 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.4522, allocations: 60.22 kB / 0.5634 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.191e-05/0.4522, allocations: 33.45 kB / 0.5634 GB, free: 7.254 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.0002686/0.4525, allocations: 176.5 kB / 0.5636 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4526, allocations: 52.23 kB / 0.5636 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008512/0.4535, allocations: 394 kB / 0.564 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4535, allocations: 4 kB / 0.564 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4535, allocations: 0 / 0.564 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4535, allocations: 3.938 kB / 0.564 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.4546, allocations: 0.725 MB / 0.5647 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.4546, allocations: 3.938 kB / 0.5647 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.4547, allocations: 15.92 kB / 0.5647 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.4547, allocations: 7.984 kB / 0.5648 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.4547, allocations: 0 / 0.5648 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4547, allocations: 4 kB / 0.5648 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4547, allocations: 192 / 0.5648 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.455, allocations: 209 kB / 0.565 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.4552, allocations: 136.7 kB / 0.5651 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/0.4553, allocations: 11.95 kB / 0.5651 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.4554, allocations: 0 / 0.5651 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.4554, allocations: 7.984 kB / 0.5651 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.4554, allocations: 4 kB / 0.5651 GB, free: 5.375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005852/0.456, allocations: 410.8 kB / 0.5655 GB, free: 4.977 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.456, allocations: 0 / 0.5655 GB, free: 4.977 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009196/0.457, allocations: 259 kB / 0.5657 GB, free: 4.723 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.001438/0.4584, allocations: 1.034 MB / 0.5668 GB, free: 3.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004992/0.4589, allocations: 221.7 kB / 0.567 GB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4589, allocations: 3.938 kB / 0.567 GB, free: 3.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.459, allocations: 35.92 kB / 0.567 GB, free: 3.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.4596, allocations: 118 kB / 0.5671 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006138/0.4657, allocations: 4.141 MB / 0.5712 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.4663, allocations: 0.8074 MB / 0.572 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.4667, allocations: 140.3 kB / 0.5721 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.467, allocations: 171.4 kB / 0.5722 GB, free: 13.61 MB / 430.1 MB Notification: Performance of SimCode: time 1.243e-06/0.467, allocations: 0 / 0.5722 GB, free: 13.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05307/0.5201, allocations: 13.32 MB / 0.5853 GB, free: 380 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.09/9.61, allocations: 16 kB / 0.5853 GB, free: 364 kB / 430.1 MB " [Timeout remaining time 650] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.352133244974539] Failed to read output from testmodel.py, exit status != 0: 9.690559017006308 9.717594106 9.280528417 Calling exit ...