Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.0008563/0.0008563, allocations: 80.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.0008544/0.0008544, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9222/0.9222, 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/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7285/0.7285, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 4 kB / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.737e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4311/0.4311, allocations: 168.1 MB / 0.7822 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.008201/0.4393, allocations: 5.426 MB / 0.7875 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.4406, allocations: 57.22 kB / 0.7876 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.4418, allocations: 0.5489 MB / 0.7881 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.4454, allocations: 1.726 MB / 0.7898 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.4481, allocations: 1.271 MB / 0.7911 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003226/0.4514, allocations: 2.578 MB / 0.7936 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.4525, allocations: 0.7135 MB / 0.7943 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.4548, allocations: 1.548 MB / 0.7958 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.456, allocations: 0.7707 MB / 0.7965 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.4561, allocations: 103.3 kB / 0.7966 GB, free: 2.445 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.458, allocations: 1.275 MB / 0.7979 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003878/0.4584, allocations: 0.518 MB / 0.7984 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003781/0.4588, allocations: 447.3 kB / 0.7988 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.4609, allocations: 2.144 MB / 0.8009 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4609, allocations: 3.984 kB / 0.8009 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4609, allocations: 0 / 0.8009 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.4609, allocations: 0 / 0.8009 GB, free: 0.707 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001701/0.4626, allocations: 1.432 MB / 0.8023 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4627, allocations: 9.938 kB / 0.8023 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.4628, allocations: 141.9 kB / 0.8025 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.4639, allocations: 338.5 kB / 0.8028 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009391/0.4648, allocations: 0.7399 MB / 0.8035 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.4649, allocations: 62.38 kB / 0.8036 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.102e-05/0.465, allocations: 83.83 kB / 0.8036 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.4663, allocations: 1.482 MB / 0.8051 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.4663, allocations: 3.156 kB / 0.8051 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.4663, allocations: 39.41 kB / 0.8051 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.4664, allocations: 38.33 kB / 0.8052 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009528/0.4673, allocations: 0.8194 MB / 0.806 GB, free: 13.17 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.00328/0.4706, allocations: 3.263 MB / 0.8092 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.471, allocations: 357 kB / 0.8095 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.4712, allocations: 203.7 kB / 0.8097 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.4713, allocations: 24.23 kB / 0.8097 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.4714, allocations: 39.69 kB / 0.8097 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 1.864e-06/0.4714, allocations: 3.938 kB / 0.8098 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.00188/0.4732, allocations: 1.271 MB / 0.811 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.4733, allocations: 61.05 kB / 0.8111 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009302/0.4742, allocations: 1.015 MB / 0.812 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.4742, allocations: 32.61 kB / 0.8121 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.4745, allocations: 0.5054 MB / 0.8126 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.4746, allocations: 145.3 kB / 0.8127 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.4748, allocations: 124.9 kB / 0.8128 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.4748, allocations: 327.1 kB / 0.8131 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.4751, allocations: 235.8 kB / 0.8134 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.4755, allocations: 476.5 kB / 0.8138 GB, free: 7.461 MB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.4771, allocations: 1.143 MB / 0.8149 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4771, allocations: 0 / 0.8149 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009556/0.478, allocations: 0.7721 MB / 0.8157 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4781, allocations: 7.812 kB / 0.8157 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4781, allocations: 5.594 kB / 0.8157 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.4781, allocations: 14.73 kB / 0.8157 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.4784, allocations: 145.3 kB / 0.8159 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.4784, allocations: 22.62 kB / 0.8159 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.4789, allocations: 48.98 kB / 0.8159 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.479, allocations: 24.97 kB / 0.8159 GB, free: 6.289 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0004025/0.4794, allocations: 319.3 kB / 0.8162 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4795, allocations: 106 kB / 0.8163 GB, free: 6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.4796, allocations: 103.5 kB / 0.8164 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4796, allocations: 2.875 kB / 0.8165 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4796, allocations: 0 / 0.8165 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005125/0.4801, allocations: 0.6861 MB / 0.8171 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.4822, allocations: 1.428 MB / 0.8185 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4822, allocations: 5.062 kB / 0.8185 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.4824, allocations: 86.45 kB / 0.8186 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.4824, allocations: 5.062 kB / 0.8186 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.4824, allocations: 16.84 kB / 0.8186 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.4825, allocations: 9.062 kB / 0.8186 GB, free: 4.293 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4825, allocations: 2.688 kB / 0.8186 GB, free: 4.293 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008704/0.4833, allocations: 0.8344 MB / 0.8194 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.4837, allocations: 163.6 kB / 0.8196 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.4837, allocations: 13.3 kB / 0.8196 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.4841, allocations: 44.86 kB / 0.8197 GB, free: 3.578 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.4841, allocations: 37.27 kB / 0.8197 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.4842, allocations: 26.86 kB / 0.8197 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006884/0.4849, allocations: 0.7051 MB / 0.8204 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4849, allocations: 0 / 0.8204 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006714/0.4855, allocations: 265.8 kB / 0.8207 GB, free: 3.117 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001291/0.4868, allocations: 1.45 MB / 0.8221 GB, free: 1.914 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006359/0.4875, allocations: 0.4885 MB / 0.8226 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4875, allocations: 384 / 0.8226 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.4876, allocations: 189.7 kB / 0.8227 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.4891, allocations: 0.6169 MB / 0.8233 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/0.4964, allocations: 7.555 MB / 0.8307 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.4968, allocations: 0.5041 MB / 0.8312 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000623/0.4974, allocations: 248.4 kB / 0.8314 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.4977, allocations: 344.4 kB / 0.8318 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/0.4977, allocations: 3.938 kB / 0.8318 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/0.5402, allocations: 30.86 MB / 0.8619 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.436, allocations: 6.688 kB / 0.8619 GB, free: 9.469 MB / 0.7136 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.263392192311585] Failed to read output from testmodel.py, exit status != 0: 8.534131789579988 8.543413877 8.080550928 Calling exit ...