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.001852/0.001852, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002328/0.002328, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1477/0.1477, allocations: 23.89 MB / 337.1 MB, free: 10.93 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.002059/0.002059, allocations: 67.89 kB / 471.9 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3361, allocations: 59.87 MB / 0.5193 GB, free: 9.535 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.07009/0.4062, allocations: 23.79 MB / 0.5425 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.4174, allocations: 8.07 MB / 0.5504 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006028/0.418, allocations: 15.81 kB / 0.5504 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007525/0.4188, allocations: 188.1 kB / 0.5506 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.42, allocations: 366.1 kB / 0.551 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.4241, allocations: 1.446 MB / 0.5524 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.4253, allocations: 0.6691 MB / 0.553 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.4257, allocations: 195.2 kB / 0.5532 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.4261, allocations: 323.5 kB / 0.5535 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005723/0.4267, allocations: 354.5 kB / 0.5539 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.4268, allocations: 36 kB / 0.5539 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.4291, allocations: 0.796 MB / 0.5547 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.4294, allocations: 121 kB / 0.5548 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.4297, allocations: 215.6 kB / 0.555 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003518/0.4332, allocations: 1.528 MB / 0.5565 GB, free: 2.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4332, allocations: 0 / 0.5565 GB, free: 2.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4332, allocations: 0 / 0.5565 GB, free: 2.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.4332, allocations: 0 / 0.5565 GB, free: 2.895 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.00163/0.4348, allocations: 0.8793 MB / 0.5573 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4349, allocations: 8.031 kB / 0.5573 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.01e-05/0.4349, allocations: 8.844 kB / 0.5574 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.109e-05/0.435, allocations: 77.81 kB / 0.5574 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00085/0.4358, allocations: 167.2 kB / 0.5576 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/0.4366, allocations: 398.2 kB / 0.558 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.4366, allocations: 24.78 kB / 0.558 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/0.4367, allocations: 32 kB / 0.558 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/0.4377, allocations: 0.5302 MB / 0.5585 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4377, allocations: 0 / 0.5585 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.4377, allocations: 16 kB / 0.5586 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.4377, allocations: 8 kB / 0.5586 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.4391, allocations: 0.8023 MB / 0.5593 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.442, allocations: 1.786 MB / 0.5611 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.4424, allocations: 200.9 kB / 0.5613 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.4427, allocations: 123 kB / 0.5614 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003158/0.4459, allocations: 1.284 MB / 0.5627 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.4459, allocations: 39.5 kB / 0.5627 GB, free: 13.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.4459, allocations: 0 / 0.5627 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006998/0.4466, allocations: 292.7 kB / 0.563 GB, free: 12.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4467, allocations: 56.34 kB / 0.563 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006703/0.4473, allocations: 488.7 kB / 0.5635 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.4474, allocations: 29.7 kB / 0.5635 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.4476, allocations: 305.6 kB / 0.5638 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.4477, allocations: 61.73 kB / 0.5639 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.4478, allocations: 94.31 kB / 0.564 GB, free: 11.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.448, allocations: 357.7 kB / 0.5643 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.4482, allocations: 94.17 kB / 0.5644 GB, free: 11.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.4486, allocations: 369 kB / 0.5647 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.4493, allocations: 0.4895 MB / 0.5652 GB, free: 10.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.4493, allocations: 8 kB / 0.5652 GB, free: 10.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008513/0.4501, allocations: 493.5 kB / 0.5657 GB, free: 9.883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4502, allocations: 8 kB / 0.5657 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4502, allocations: 8 kB / 0.5657 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.4502, allocations: 16.06 kB / 0.5657 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.4506, allocations: 119.8 kB / 0.5658 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.4506, allocations: 19.92 kB / 0.5659 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.4509, allocations: 55.56 kB / 0.5659 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.451, allocations: 32 kB / 0.5659 GB, free: 9.629 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.0002393/0.4512, allocations: 182.1 kB / 0.5661 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.783e-05/0.4513, allocations: 47.67 kB / 0.5662 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007968/0.4521, allocations: 395.9 kB / 0.5665 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4521, allocations: 0 / 0.5665 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4521, allocations: 4 kB / 0.5665 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4521, allocations: 3.938 kB / 0.5665 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.4531, allocations: 0.6655 MB / 0.5672 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.4531, allocations: 4 kB / 0.5672 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-05/0.4532, allocations: 11.98 kB / 0.5672 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.4532, allocations: 4 kB / 0.5672 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4532, allocations: 0 / 0.5672 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.4532, allocations: 4.188 kB / 0.5672 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4532, allocations: 7.938 kB / 0.5672 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.4535, allocations: 201 kB / 0.5674 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.4537, allocations: 51.64 kB / 0.5675 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.669e-05/0.4537, allocations: 11.95 kB / 0.5675 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.4539, allocations: 11.92 kB / 0.5675 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.4539, allocations: 11.88 kB / 0.5675 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4539, allocations: 8.125 kB / 0.5675 GB, free: 7.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005379/0.4544, allocations: 414.8 kB / 0.5679 GB, free: 7.465 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4544, allocations: 0 / 0.5679 GB, free: 7.465 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009625/0.4554, allocations: 251.1 kB / 0.5681 GB, free: 7.219 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.001426/0.4568, allocations: 1.037 MB / 0.5692 GB, free: 6.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005415/0.4574, allocations: 220.2 kB / 0.5694 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4574, allocations: 1.875 kB / 0.5694 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.973e-05/0.4574, allocations: 35.92 kB / 0.5694 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007011/0.4581, allocations: 112.8 kB / 0.5695 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005982/0.4641, allocations: 4.148 MB / 0.5736 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.4643, allocations: 219.7 kB / 0.5738 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004767/0.4648, allocations: 132.3 kB / 0.5739 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.4651, allocations: 171.4 kB / 0.5741 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4651, allocations: 0 / 0.5741 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.5083, allocations: 14.1 MB / 0.5878 GB, free: 2.809 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.71, allocations: 8 kB / 0.5878 GB, free: 2.801 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.628384087001905] Failed to read output from testmodel.py, exit status != 0: 12.882862052996643 12.913355071 12.474755742 Calling exit ...