Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.0008436/0.0008436, allocations: 76.44 kB / 19.17 MB, free: 0.7422 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.001167/0.001167, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8858/0.8858, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7019/0.7019, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.133e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4274/0.4274, allocations: 165.3 MB / 0.7796 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.4396, allocations: 11.95 MB / 0.7912 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.4409, allocations: 43.38 kB / 0.7913 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.4423, allocations: 422.1 kB / 0.7917 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.4447, allocations: 0.9734 MB / 0.7926 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.4465, allocations: 0.7998 MB / 0.7934 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.4482, allocations: 1.512 MB / 0.7949 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000664/0.4488, allocations: 0.4926 MB / 0.7954 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/0.4524, allocations: 2.05 MB / 0.7974 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.4535, allocations: 461.5 kB / 0.7978 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.4536, allocations: 52.47 kB / 0.7979 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.4548, allocations: 0.7286 MB / 0.7986 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.455, allocations: 297.7 kB / 0.7989 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.4552, allocations: 261.6 kB / 0.7991 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.4566, allocations: 1.191 MB / 0.8003 GB, free: 332 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4566, allocations: 0 / 0.8003 GB, free: 332 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.925e-06/0.4566, allocations: 0 / 0.8003 GB, free: 332 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.4566, allocations: 0 / 0.8003 GB, free: 332 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001164/0.4577, allocations: 0.9872 MB / 0.8012 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4578, allocations: 13.75 kB / 0.8013 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.52e-05/0.4579, allocations: 103.3 kB / 0.8013 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005657/0.4584, allocations: 195.3 kB / 0.8015 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.459, allocations: 494.5 kB / 0.802 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.4591, allocations: 46.31 kB / 0.8021 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.4591, allocations: 56.09 kB / 0.8021 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.4598, allocations: 0.7937 MB / 0.8029 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4599, allocations: 11.16 kB / 0.8029 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.4599, allocations: 25.34 kB / 0.8029 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.4599, allocations: 22.22 kB / 0.8029 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.4604, allocations: 461 kB / 0.8034 GB, free: 14.37 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.4627, allocations: 4.005 MB / 0.8073 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.693e-05/0.4628, allocations: 103.9 kB / 0.8074 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.4629, allocations: 78.02 kB / 0.8075 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-05/0.463, allocations: 13.22 kB / 0.8075 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.463, allocations: 41.83 kB / 0.8075 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.463, allocations: 2.812 kB / 0.8075 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0004045/0.4634, allocations: 241.5 kB / 0.8077 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.4635, allocations: 134.8 kB / 0.8079 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006536/0.4641, allocations: 0.8476 MB / 0.8087 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.4641, allocations: 29.7 kB / 0.8087 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.4644, allocations: 422.5 kB / 0.8091 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.4645, allocations: 39.84 kB / 0.8092 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.4646, allocations: 92.03 kB / 0.8093 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.4646, allocations: 324.9 kB / 0.8096 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.4648, allocations: 109.6 kB / 0.8097 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.465, allocations: 0.5042 MB / 0.8102 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.4654, allocations: 445 kB / 0.8106 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4654, allocations: 10.78 kB / 0.8106 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005043/0.4659, allocations: 0.5013 MB / 0.8111 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4659, allocations: 8.031 kB / 0.8111 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.4659, allocations: 7.969 kB / 0.8111 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4659, allocations: 10.19 kB / 0.8111 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.4661, allocations: 90.33 kB / 0.8112 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.4661, allocations: 14.5 kB / 0.8112 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.4664, allocations: 116.9 kB / 0.8113 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.4664, allocations: 25.66 kB / 0.8114 GB, free: 7.48 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0001692/0.4666, allocations: 228.5 kB / 0.8116 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.4667, allocations: 84.84 kB / 0.8116 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.4667, allocations: 73.12 kB / 0.8117 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4668, allocations: 6.797 kB / 0.8117 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4668, allocations: 3.188 kB / 0.8117 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4668, allocations: 2.625 kB / 0.8117 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/0.4676, allocations: 1.038 MB / 0.8127 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4676, allocations: 3.438 kB / 0.8127 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.4676, allocations: 21.16 kB / 0.8128 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4676, allocations: 2.625 kB / 0.8128 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.4676, allocations: 4.969 kB / 0.8128 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4676, allocations: 10.86 kB / 0.8128 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4676, allocations: 2.906 kB / 0.8128 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.4678, allocations: 260.9 kB / 0.813 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.4679, allocations: 104.8 kB / 0.8131 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.468, allocations: 3.219 kB / 0.8131 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.4681, allocations: 18.11 kB / 0.8132 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.4682, allocations: 17.55 kB / 0.8132 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.4682, allocations: 4.906 kB / 0.8132 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005902/0.4688, allocations: 0.589 MB / 0.8138 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4688, allocations: 0 / 0.8138 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003673/0.4691, allocations: 160.5 kB / 0.8139 GB, free: 5.613 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0005967/0.4697, allocations: 0.8817 MB / 0.8148 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.47, allocations: 234.3 kB / 0.815 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.47, allocations: 0 / 0.815 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.4701, allocations: 50.34 kB / 0.815 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008623/0.4709, allocations: 378.5 kB / 0.8154 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/0.4754, allocations: 5.453 MB / 0.8207 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.4756, allocations: 340.2 kB / 0.8211 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003371/0.476, allocations: 143.9 kB / 0.8212 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.4762, allocations: 232.2 kB / 0.8214 GB, free: 368 kB / 0.6667 GB Notification: Performance of SimCode: time 8.82e-07/0.4762, allocations: 0 / 0.8214 GB, free: 368 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.5117, allocations: 20.1 MB / 0.841 GB, free: 14.81 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.304, allocations: 11.83 kB / 0.841 GB, free: 14.8 MB / 0.698 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.082602478563786] Failed to read output from testmodel.py, exit status != 0: 8.395265949890018 8.406295789 7.947651841 Calling exit ...