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: 110.4 kB / 18.94 MB, free: 2.949 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.001665/0.001665, allocations: 219.8 kB / 22.26 MB, free: 5.121 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.984 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.1438/0.1438, allocations: 23.85 MB / 336.3 MB, free: 11.21 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.002072/0.002072, allocations: 67.89 kB / 471.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2985, allocations: 59.84 MB / 0.5186 GB, free: 9.621 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.03458/0.3331, allocations: 24.26 MB / 0.5423 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.345, allocations: 9.261 MB / 0.5513 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004791/0.3455, allocations: 15.88 kB / 0.5513 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007185/0.3462, allocations: 220.3 kB / 0.5515 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.3474, allocations: 358.4 kB / 0.5519 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003654/0.351, allocations: 1.446 MB / 0.5533 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.3521, allocations: 0.6711 MB / 0.5539 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.3525, allocations: 181.1 kB / 0.5541 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.3529, allocations: 337.7 kB / 0.5544 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.3535, allocations: 349.5 kB / 0.5548 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.685e-05/0.3536, allocations: 36 kB / 0.5548 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.3558, allocations: 0.8387 MB / 0.5556 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3559, allocations: 116.4 kB / 0.5557 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.3562, allocations: 258.9 kB / 0.556 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.3588, allocations: 1.532 MB / 0.5575 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3588, allocations: 0 / 0.5575 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.3588, allocations: 0 / 0.5575 GB, free: 1.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.3589, allocations: 0 / 0.5575 GB, free: 1.406 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.001481/0.3603, allocations: 0.8905 MB / 0.5583 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3604, allocations: 8.031 kB / 0.5584 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.326e-05/0.3605, allocations: 69.83 kB / 0.5584 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007684/0.3612, allocations: 155 kB / 0.5586 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.362, allocations: 402.8 kB / 0.559 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.362, allocations: 24.97 kB / 0.559 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.3621, allocations: 31.94 kB / 0.559 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00092/0.363, allocations: 0.5336 MB / 0.5595 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3631, allocations: 0 / 0.5595 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.3631, allocations: 12 kB / 0.5595 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.3631, allocations: 8 kB / 0.5595 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.3645, allocations: 0.8065 MB / 0.5603 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.3672, allocations: 1.852 MB / 0.5621 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.3676, allocations: 201.5 kB / 0.5623 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.3678, allocations: 130.5 kB / 0.5625 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002885/0.3707, allocations: 1.338 MB / 0.5638 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.3708, allocations: 35.17 kB / 0.5638 GB, free: 11.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.3708, allocations: 0 / 0.5638 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006371/0.3714, allocations: 305 kB / 0.5641 GB, free: 11.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3714, allocations: 51.92 kB / 0.5641 GB, free: 11.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.372, allocations: 481.7 kB / 0.5646 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.372, allocations: 25.7 kB / 0.5646 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.3723, allocations: 307.9 kB / 0.5649 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.3723, allocations: 63.48 kB / 0.565 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3725, allocations: 94.08 kB / 0.5651 GB, free: 10.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3726, allocations: 358.7 kB / 0.5654 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3728, allocations: 92.83 kB / 0.5655 GB, free: 9.875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.3732, allocations: 365.1 kB / 0.5658 GB, free: 9.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.3738, allocations: 496.3 kB / 0.5663 GB, free: 8.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.3738, allocations: 4 kB / 0.5663 GB, free: 8.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007972/0.3746, allocations: 493 kB / 0.5668 GB, free: 8.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3746, allocations: 8 kB / 0.5668 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.3747, allocations: 8 kB / 0.5668 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.3747, allocations: 12 kB / 0.5668 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.375, allocations: 115.8 kB / 0.5669 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/0.3751, allocations: 20.55 kB / 0.5669 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.3753, allocations: 63.56 kB / 0.567 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-05/0.3754, allocations: 35.98 kB / 0.567 GB, free: 8.023 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.0002043/0.3756, allocations: 178.1 kB / 0.5672 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.3757, allocations: 47.67 kB / 0.5673 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000735/0.3764, allocations: 403.9 kB / 0.5676 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3764, allocations: 0 / 0.5676 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3764, allocations: 0 / 0.5676 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3764, allocations: 11.86 kB / 0.5677 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008836/0.3773, allocations: 0.6851 MB / 0.5683 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3773, allocations: 3.938 kB / 0.5683 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.946e-05/0.3774, allocations: 27.86 kB / 0.5684 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3774, allocations: 192 / 0.5684 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3774, allocations: 8 kB / 0.5684 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3774, allocations: 0 / 0.5684 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3774, allocations: 4 kB / 0.5684 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.3777, allocations: 201 kB / 0.5686 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3778, allocations: 55.58 kB / 0.5686 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.3779, allocations: 11.94 kB / 0.5686 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.378, allocations: 8 kB / 0.5686 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.378, allocations: 4 kB / 0.5686 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.378, allocations: 0 / 0.5686 GB, free: 6.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004903/0.3785, allocations: 418.8 kB / 0.569 GB, free: 5.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3785, allocations: 4 kB / 0.569 GB, free: 5.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007719/0.3793, allocations: 255.1 kB / 0.5693 GB, free: 5.578 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.001124/0.3804, allocations: 1.029 MB / 0.5703 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.3808, allocations: 224.3 kB / 0.5705 GB, free: 4.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3808, allocations: 0 / 0.5705 GB, free: 4.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/0.3809, allocations: 37.61 kB / 0.5705 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.3815, allocations: 110.2 kB / 0.5706 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.3865, allocations: 4.156 MB / 0.5747 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.387, allocations: 0.8074 MB / 0.5755 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004315/0.3874, allocations: 144 kB / 0.5756 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.3877, allocations: 167.4 kB / 0.5758 GB, free: 14.47 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3877, allocations: 0 / 0.5758 GB, free: 14.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04851/0.4362, allocations: 13.6 MB / 0.5891 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.39, allocations: 8.938 kB / 0.5891 GB, free: 0.9844 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.09900769800879] Failed to read output from testmodel.py, exit status != 0: 12.504883262095973 12.533924006 12.169773589 Calling exit ...