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.001352/0.001352, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001498/0.001498, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.1493/0.1493, allocations: 23.86 MB / 337.1 MB, free: 11.24 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="cs",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.001973/0.001973, allocations: 67.89 kB / 472 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3206, allocations: 59.85 MB / 0.5193 GB, free: 9.598 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.04061/0.3612, allocations: 24.08 MB / 0.5429 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.3737, allocations: 9.26 MB / 0.5519 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005692/0.3742, allocations: 15.88 kB / 0.5519 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006975/0.3749, allocations: 220.5 kB / 0.5521 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.3761, allocations: 362 kB / 0.5525 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.3803, allocations: 1.442 MB / 0.5539 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.3814, allocations: 0.6701 MB / 0.5545 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.3818, allocations: 189.5 kB / 0.5547 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004089/0.3822, allocations: 331.1 kB / 0.555 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.3827, allocations: 351.3 kB / 0.5554 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.67e-05/0.3828, allocations: 36 kB / 0.5554 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.3854, allocations: 0.8362 MB / 0.5562 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.3855, allocations: 116.6 kB / 0.5563 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.3858, allocations: 263.3 kB / 0.5566 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.3891, allocations: 1.527 MB / 0.5581 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3891, allocations: 0 / 0.5581 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3891, allocations: 0 / 0.5581 GB, free: 1.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3891, allocations: 0 / 0.5581 GB, free: 1.562 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.001668/0.3908, allocations: 0.8869 MB / 0.5589 GB, free: 0.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3908, allocations: 8.031 kB / 0.5589 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.83e-05/0.3909, allocations: 12.84 kB / 0.559 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.391, allocations: 66.02 kB / 0.559 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000886/0.3919, allocations: 159.3 kB / 0.5592 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.3926, allocations: 402.5 kB / 0.5596 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.3927, allocations: 28.72 kB / 0.5596 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.3927, allocations: 32 kB / 0.5596 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3938, allocations: 0.5318 MB / 0.5601 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3938, allocations: 0 / 0.5601 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/0.3938, allocations: 16 kB / 0.5602 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3938, allocations: 8 kB / 0.5602 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.3952, allocations: 0.803 MB / 0.5609 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.3981, allocations: 1.856 MB / 0.5628 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.3985, allocations: 201.7 kB / 0.5629 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.3988, allocations: 122.1 kB / 0.5631 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003013/0.4018, allocations: 1.331 MB / 0.5644 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.4018, allocations: 34.56 kB / 0.5644 GB, free: 11.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.4018, allocations: 3.938 kB / 0.5644 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006818/0.4025, allocations: 294.7 kB / 0.5647 GB, free: 11.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.4025, allocations: 55.41 kB / 0.5647 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006554/0.4032, allocations: 487.5 kB / 0.5652 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.4032, allocations: 29.7 kB / 0.5652 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.4035, allocations: 300 kB / 0.5655 GB, free: 10.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.4036, allocations: 67.45 kB / 0.5656 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.4037, allocations: 102.1 kB / 0.5657 GB, free: 10.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000259/0.404, allocations: 358.8 kB / 0.566 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.4041, allocations: 84.83 kB / 0.5661 GB, free: 10.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.4045, allocations: 369.1 kB / 0.5665 GB, free: 9.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.4052, allocations: 0.4885 MB / 0.5669 GB, free: 8.906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.4052, allocations: 4 kB / 0.5669 GB, free: 8.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008447/0.4061, allocations: 496.8 kB / 0.5674 GB, free: 8.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4061, allocations: 10.97 kB / 0.5674 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.4061, allocations: 12.88 kB / 0.5674 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.4061, allocations: 12 kB / 0.5674 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.4065, allocations: 111.8 kB / 0.5675 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.131e-05/0.4065, allocations: 19.92 kB / 0.5676 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.4068, allocations: 59.56 kB / 0.5676 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.4068, allocations: 36 kB / 0.5677 GB, free: 8.156 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.0002364/0.4071, allocations: 178 kB / 0.5678 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.4072, allocations: 51.67 kB / 0.5679 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/0.4079, allocations: 387.9 kB / 0.5682 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4079, allocations: 0 / 0.5682 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4079, allocations: 7.938 kB / 0.5683 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.4079, allocations: 3.938 kB / 0.5683 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.4089, allocations: 0.6928 MB / 0.5689 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4089, allocations: 4.188 kB / 0.5689 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.4089, allocations: 19.92 kB / 0.569 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4089, allocations: 4 kB / 0.569 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.409, allocations: 0 / 0.569 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.409, allocations: 4 kB / 0.569 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.409, allocations: 0 / 0.569 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.4092, allocations: 208.9 kB / 0.5692 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.4094, allocations: 59.62 kB / 0.5692 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.4094, allocations: 7.953 kB / 0.5692 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.4096, allocations: 0 / 0.5692 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.4096, allocations: 7.984 kB / 0.5692 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.4096, allocations: 4.125 kB / 0.5692 GB, free: 6.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005463/0.4102, allocations: 418.8 kB / 0.5696 GB, free: 5.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4102, allocations: 0 / 0.5696 GB, free: 5.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008971/0.411, allocations: 251.1 kB / 0.5699 GB, free: 5.727 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.001382/0.4124, allocations: 1.041 MB / 0.5709 GB, free: 4.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000485/0.4129, allocations: 221.7 kB / 0.5711 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4129, allocations: 0 / 0.5711 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.25e-05/0.413, allocations: 32.48 kB / 0.5711 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.4137, allocations: 123.9 kB / 0.5713 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006051/0.4197, allocations: 4.152 MB / 0.5753 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.4202, allocations: 0.8074 MB / 0.5761 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004923/0.4207, allocations: 144.3 kB / 0.5762 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.421, allocations: 175.4 kB / 0.5764 GB, free: 14.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.421, allocations: 0 / 0.5764 GB, free: 14.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04027/0.4613, allocations: 13.62 MB / 0.5897 GB, free: 1.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.57, allocations: 4.062 kB / 0.5897 GB, free: 1.105 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.47684914804995] Failed to read output from testmodel.py, exit status != 0: 12.746846832102165 12.771753863 12.377947452 Calling exit ...