Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Definitions.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.0007308/0.0007308, 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.0007278/0.0007278, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.931/0.931, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.1011/0.1011, allocations: 17.37 MB / 276.6 MB, free: 11.84 MB / 266.7 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.Examples.Definitions,fileNamePrefix="Chemical_Chemical_Examples_Definitions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.Definitions,fileNamePrefix="Chemical_Chemical_Examples_Definitions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 411.4 MB, free: 420 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.492e-05, allocations: 4.812 kB / 411.5 MB, free: 416 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:465:5-465:64: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/Interfaces.mo:465:5-465:64: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.Examples.Definitions): time 0.02336/0.02339, allocations: 23.91 MB / 435.4 MB, free: 8.582 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3414/0.3648, allocations: 122.1 MB / 0.5444 GB, free: 1.594 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.3652, allocations: 4 kB / 0.5444 GB, free: 1.59 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.367, allocations: 0.6692 MB / 0.5451 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.3693, allocations: 1.931 MB / 0.547 GB, free: 14.99 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.3708, allocations: 0.5281 MB / 0.5475 GB, free: 14.46 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002642/0.3734, allocations: 2.03 MB / 0.5495 GB, free: 12.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3735, allocations: 25.97 kB / 0.5495 GB, free: 12.41 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.3739, allocations: 463 kB / 0.5499 GB, free: 11.96 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.3744, allocations: 447.1 kB / 0.5504 GB, free: 11.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.3745, allocations: 20 kB / 0.5504 GB, free: 11.5 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.3759, allocations: 0.6823 MB / 0.551 GB, free: 10.82 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.3761, allocations: 163.3 kB / 0.5512 GB, free: 10.66 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.3762, allocations: 163.4 kB / 0.5514 GB, free: 10.5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.378, allocations: 1.663 MB / 0.553 GB, free: 8.828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.378, allocations: 0 / 0.553 GB, free: 8.828 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.378, allocations: 0 / 0.553 GB, free: 8.828 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.378, allocations: 4 kB / 0.553 GB, free: 8.824 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001314/0.3793, allocations: 1.018 MB / 0.554 GB, free: 7.773 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.548e-05/0.3794, allocations: 11.31 kB / 0.554 GB, free: 7.766 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.3795, allocations: 110.6 kB / 0.5541 GB, free: 7.648 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/0.3799, allocations: 281.6 kB / 0.5544 GB, free: 7.379 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.3804, allocations: 357.4 kB / 0.5547 GB, free: 7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.3805, allocations: 41.36 kB / 0.5547 GB, free: 6.961 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.3805, allocations: 40.38 kB / 0.5548 GB, free: 6.922 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.3824, allocations: 2.625 MB / 0.5573 GB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3824, allocations: 192 / 0.5573 GB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.3824, allocations: 20.38 kB / 0.5574 GB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/0.3825, allocations: 93.2 kB / 0.5575 GB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.3852, allocations: 4.23 MB / 0.5616 GB, free: 15.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.3881, allocations: 3.322 MB / 0.5648 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/0.3887, allocations: 481.6 kB / 0.5653 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.3888, allocations: 112.8 kB / 0.5654 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002264/0.3911, allocations: 1.854 MB / 0.5672 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3911, allocations: 30.56 kB / 0.5672 GB, free: 10.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=25): time 1.854e-06/0.3911, allocations: 3.938 kB / 0.5672 GB, free: 10.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005911/0.3917, allocations: 472.8 kB / 0.5677 GB, free: 9.555 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3918, allocations: 55.39 kB / 0.5677 GB, free: 9.488 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/0.3925, allocations: 0.9148 MB / 0.5686 GB, free: 8.562 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.3925, allocations: 29.7 kB / 0.5687 GB, free: 8.527 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.3927, allocations: 475.1 kB / 0.5691 GB, free: 8.055 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.3928, allocations: 95.28 kB / 0.5692 GB, free: 7.961 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.393, allocations: 298.4 kB / 0.5695 GB, free: 7.664 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3931, allocations: 358.8 kB / 0.5698 GB, free: 7.305 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.3934, allocations: 226.5 kB / 0.5701 GB, free: 7.082 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.394, allocations: 0.8882 MB / 0.5709 GB, free: 5.863 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009133/0.3949, allocations: 1.224 MB / 0.5721 GB, free: 4.309 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.485e-06/0.3949, allocations: 4 kB / 0.5721 GB, free: 4.305 MB / 458.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001086/0.396, allocations: 1.127 MB / 0.5732 GB, free: 3.172 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.396, allocations: 16 kB / 0.5732 GB, free: 3.156 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.396, allocations: 27.94 kB / 0.5733 GB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.613e-05/0.396, allocations: 32.78 kB / 0.5733 GB, free: 3.098 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.3965, allocations: 303.5 kB / 0.5736 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.152e-05/0.3965, allocations: 43.86 kB / 0.5736 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.3968, allocations: 139.9 kB / 0.5738 GB, free: 2.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.3969, allocations: 132 kB / 0.5739 GB, free: 2.492 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 6 (H2O_vaporization_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,O2_dissolving_props.definition.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * 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.0002906/0.3972, allocations: 337.3 kB / 0.5742 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.3973, allocations: 87.42 kB / 0.5743 GB, free: 2.066 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.3983, allocations: 0.7882 MB / 0.5751 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3983, allocations: 4 kB / 0.5751 GB, free: 1.281 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3983, allocations: 0 / 0.5751 GB, free: 1.281 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3983, allocations: 7.984 kB / 0.5751 GB, free: 1.273 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.3987, allocations: 460.4 kB / 0.5755 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3987, allocations: 0 / 0.5755 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.3988, allocations: 103 kB / 0.5756 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3988, allocations: 4 kB / 0.5756 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.3989, allocations: 35.92 kB / 0.5756 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3989, allocations: 3.938 kB / 0.5757 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3989, allocations: 3.984 kB / 0.5757 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.3993, allocations: 474.8 kB / 0.5761 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.3995, allocations: 245.4 kB / 0.5763 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3996, allocations: 19.69 kB / 0.5764 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3997, allocations: 8 kB / 0.5764 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.3998, allocations: 43.95 kB / 0.5764 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/0.3998, allocations: 83.98 kB / 0.5765 GB, free: 15.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004339/0.4003, allocations: 0.5654 MB / 0.577 GB, free: 15.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4003, allocations: 0 / 0.577 GB, free: 15.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005286/0.4008, allocations: 183.8 kB / 0.5772 GB, free: 15.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 25 * 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.0008769/0.4017, allocations: 1.154 MB / 0.5783 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005906/0.4022, allocations: 0.5831 MB / 0.5789 GB, free: 13.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4022, allocations: 8.188 kB / 0.5789 GB, free: 13.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4024, allocations: 131.9 kB / 0.579 GB, free: 13.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.4028, allocations: 88.23 kB / 0.5791 GB, free: 13.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.4076, allocations: 6.092 MB / 0.5851 GB, free: 6.191 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.4079, allocations: 359.6 kB / 0.5854 GB, free: 5.812 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008969/0.4088, allocations: 0.503 MB / 0.5859 GB, free: 5.328 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.4092, allocations: 264.3 kB / 0.5862 GB, free: 5.07 MB / 474.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4092, allocations: 0 / 0.5862 GB, free: 5.07 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.4372, allocations: 14.72 MB / 0.6005 GB, free: 6.609 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.703, allocations: 7.125 kB / 0.6005 GB, free: 6.605 MB / 490.7 MB " [Timeout remaining time 651] (rm -f Chemical_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Definitions.pipe >> ../files/Chemical_Chemical.Examples.Definitions.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Examples.Definitions_res.csv --start-time 0 --stop-time 2000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 Chemical_Chemical_Examples_Definitions.fmu > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.797041429206729] Failed to read output from testmodel.py, exit status != 0: 8.787247409112751 8.795776302 8.416010863 Calling exit ...