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.0007849/0.0007849, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007822/0.0007822, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8043/0.8043, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.07752/0.07752, allocations: 17.45 MB / 276.6 MB, free: 11.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.414e-05, allocations: 3.125 kB / 411.6 MB, free: 12.46 MB / 330.7 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.01707/0.01709, allocations: 24.43 MB / 436 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005967/0.02305, allocations: 8.077 MB / 444.1 MB, free: 8.242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.02324, allocations: 15.88 kB / 444.1 MB, free: 8.227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004131/0.02365, allocations: 199.8 kB / 444.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.02423, allocations: 374.6 kB / 444.7 MB, free: 7.758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.02639, allocations: 1.491 MB / 446.2 MB, free: 6.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005524/0.02694, allocations: 0.6906 MB / 446.9 MB, free: 5.859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.02716, allocations: 189.1 kB / 447 MB, free: 5.727 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005045/0.02766, allocations: 428.4 kB / 447.5 MB, free: 5.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.02794, allocations: 298.4 kB / 447.7 MB, free: 5.145 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.02799, allocations: 36 kB / 447.8 MB, free: 5.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000975/0.02896, allocations: 0.7776 MB / 448.6 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.02906, allocations: 124.4 kB / 448.7 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.02919, allocations: 176.3 kB / 448.9 MB, free: 4.152 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.03045, allocations: 1.627 MB / 450.5 MB, free: 2.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.03045, allocations: 4 kB / 450.5 MB, free: 2.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.03046, allocations: 0 / 450.5 MB, free: 2.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.03046, allocations: 4 kB / 450.5 MB, free: 2.785 MB / 346.7 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.0008208/0.03128, allocations: 0.8787 MB / 451.4 MB, free: 1.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.03131, allocations: 8.031 kB / 451.4 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.03137, allocations: 70.91 kB / 451.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.03175, allocations: 167.8 kB / 451.6 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.03214, allocations: 388.3 kB / 452 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.03216, allocations: 21.03 kB / 452 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.0322, allocations: 36.38 kB / 452 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.03272, allocations: 0.5379 MB / 452.6 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.03273, allocations: 0.6562 kB / 452.6 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.03276, allocations: 12 kB / 452.6 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.03277, allocations: 8 kB / 452.6 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.03347, allocations: 0.7949 MB / 453.4 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.03487, allocations: 1.785 MB / 455.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.03535, allocations: 198.4 kB / 455.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.03551, allocations: 128.8 kB / 455.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/0.03684, allocations: 1.283 MB / 456.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.03686, allocations: 30.56 kB / 456.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 9.22e-07/0.03686, allocations: 0 / 456.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003826/0.03725, allocations: 295.8 kB / 457.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.03727, allocations: 59.34 kB / 457.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.03759, allocations: 494.6 kB / 457.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.0376, allocations: 25.7 kB / 457.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.03773, allocations: 303.9 kB / 458 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.03776, allocations: 59.55 kB / 458 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.03784, allocations: 98.14 kB / 458.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.03792, allocations: 362.7 kB / 458.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.03802, allocations: 92.94 kB / 458.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.03822, allocations: 365.7 kB / 458.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.03857, allocations: 0.4925 MB / 459.4 MB, free: 9.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.03858, allocations: 4 kB / 459.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004406/0.03902, allocations: 480.9 kB / 459.9 MB, free: 9.141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.03903, allocations: 15.94 kB / 459.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.03904, allocations: 11.98 kB / 459.9 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.03905, allocations: 12.72 kB / 459.9 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.03922, allocations: 111.8 kB / 460 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.03923, allocations: 24 kB / 460.1 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.03937, allocations: 63.5 kB / 460.1 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.03941, allocations: 35.98 kB / 460.2 MB, free: 8.871 MB / 362.7 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.0001137/0.03952, allocations: 181.6 kB / 460.3 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.03956, allocations: 51.61 kB / 460.4 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.03996, allocations: 403.8 kB / 460.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.03996, allocations: 0 / 460.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.03997, allocations: 0 / 460.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.03997, allocations: 0 / 460.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.04043, allocations: 0.6694 MB / 461.5 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.04043, allocations: 4 kB / 461.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.04046, allocations: 8 kB / 461.5 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.04046, allocations: 4 kB / 461.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.04047, allocations: 3.938 kB / 461.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.04047, allocations: 7.938 kB / 461.5 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.04047, allocations: 0 / 461.5 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.04061, allocations: 193.2 kB / 461.7 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.04066, allocations: 63.59 kB / 461.7 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.04069, allocations: 7.938 kB / 461.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.04076, allocations: 4 kB / 461.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.04077, allocations: 7.938 kB / 461.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.04078, allocations: 7.984 kB / 461.8 MB, free: 7.105 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002866/0.04106, allocations: 410.8 kB / 462.2 MB, free: 6.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04106, allocations: 0 / 462.2 MB, free: 6.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006032/0.04167, allocations: 255.1 kB / 462.4 MB, free: 6.457 MB / 362.7 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.0006184/0.04228, allocations: 1.053 MB / 463.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.04253, allocations: 221.3 kB / 463.7 MB, free: 5.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.04253, allocations: 0 / 463.7 MB, free: 5.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.04256, allocations: 35.91 kB / 463.7 MB, free: 5.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.0429, allocations: 111.5 kB / 463.8 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.04578, allocations: 4.103 MB / 467.9 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.04589, allocations: 207.8 kB / 468.1 MB, free: 304 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.04611, allocations: 140.1 kB / 468.3 MB, free: 164 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.04626, allocations: 172.5 kB / 468.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.04627, allocations: 0 / 468.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.06826, allocations: 14.56 MB / 483 MB, free: 1.605 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.413/6.481, allocations: 0 / 483 MB, free: 1.605 MB / 378.7 MB " [Timeout remaining time 653] (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: 8.166211456991732] Failed to read output from testmodel.py, exit status != 0: 6.684048016555607 6.575628486 6.543558356 Calling exit ...