Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008494/0.0008494, 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.0009249/0.0009249, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8977/0.8977, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7298/0.7298, allocations: 154.6 MB / 413.7 MB, free: 0.832 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.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.833e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4252/0.4252, allocations: 165.3 MB / 0.7795 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01143/0.4366, allocations: 11.95 MB / 0.7912 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006605/0.4373, allocations: 39.72 kB / 0.7912 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009818/0.4382, allocations: 425.4 kB / 0.7916 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.4401, allocations: 0.9825 MB / 0.7926 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.4416, allocations: 0.7862 MB / 0.7933 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.4429, allocations: 1.511 MB / 0.7948 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006056/0.4435, allocations: 0.4929 MB / 0.7953 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.447, allocations: 2.053 MB / 0.7973 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009598/0.448, allocations: 456.9 kB / 0.7977 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 5.796e-05/0.448, allocations: 51.66 kB / 0.7978 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.4493, allocations: 0.7309 MB / 0.7985 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.4495, allocations: 300.2 kB / 0.7988 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.4497, allocations: 259.5 kB / 0.799 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.4507, allocations: 1.181 MB / 0.8002 GB, free: 392 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4507, allocations: 0 / 0.8002 GB, free: 392 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4507, allocations: 0 / 0.8002 GB, free: 392 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.4507, allocations: 0 / 0.8002 GB, free: 392 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.00106/0.4518, allocations: 0.9941 MB / 0.8012 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4518, allocations: 11.38 kB / 0.8012 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.472e-05/0.4519, allocations: 101 kB / 0.8013 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/0.4524, allocations: 201.7 kB / 0.8015 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.453, allocations: 493 kB / 0.8019 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.453, allocations: 48.44 kB / 0.802 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.4531, allocations: 53.38 kB / 0.802 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007067/0.4538, allocations: 0.808 MB / 0.8028 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4538, allocations: 6.656 kB / 0.8028 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.4538, allocations: 26.12 kB / 0.8029 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.4538, allocations: 26.66 kB / 0.8029 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004974/0.4543, allocations: 461.5 kB / 0.8033 GB, free: 14.46 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.002156/0.4565, allocations: 3.991 MB / 0.8072 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.903e-05/0.4566, allocations: 107.6 kB / 0.8073 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/0.4566, allocations: 72.41 kB / 0.8074 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.57e-05/0.4567, allocations: 15.36 kB / 0.8074 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.4568, allocations: 39.84 kB / 0.8074 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.4568, allocations: 3.938 kB / 0.8074 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0003792/0.4571, allocations: 239.1 kB / 0.8077 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.4572, allocations: 139.5 kB / 0.8078 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/0.4578, allocations: 0.8516 MB / 0.8086 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.4579, allocations: 36.86 kB / 0.8087 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.4581, allocations: 412.8 kB / 0.8091 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.4581, allocations: 43.98 kB / 0.8091 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.4582, allocations: 88.22 kB / 0.8092 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.4583, allocations: 331.8 kB / 0.8095 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.4584, allocations: 107.2 kB / 0.8096 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.4587, allocations: 0.5104 MB / 0.8101 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.4591, allocations: 433.1 kB / 0.8105 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4591, allocations: 0 / 0.8105 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005054/0.4596, allocations: 0.5 MB / 0.811 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4597, allocations: 8.406 kB / 0.811 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4597, allocations: 7.969 kB / 0.811 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4597, allocations: 10.5 kB / 0.811 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.4598, allocations: 100.1 kB / 0.8111 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4598, allocations: 14.62 kB / 0.8111 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.4601, allocations: 109.1 kB / 0.8113 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.4602, allocations: 29.67 kB / 0.8113 GB, free: 7.586 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.0001621/0.4603, allocations: 233.3 kB / 0.8115 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.4604, allocations: 80.48 kB / 0.8116 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.4605, allocations: 73.14 kB / 0.8116 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.4605, allocations: 6.562 kB / 0.8117 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4605, allocations: 0 / 0.8117 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4605, allocations: 3.984 kB / 0.8117 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007672/0.4613, allocations: 1.035 MB / 0.8127 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4613, allocations: 2.781 kB / 0.8127 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.4613, allocations: 30.64 kB / 0.8127 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4613, allocations: 6.906 kB / 0.8127 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.4613, allocations: 2 kB / 0.8127 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4613, allocations: 6.266 kB / 0.8127 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4613, allocations: 2.906 kB / 0.8127 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.4616, allocations: 268.1 kB / 0.813 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.4617, allocations: 98.23 kB / 0.8131 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.4618, allocations: 10.77 kB / 0.8131 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.4619, allocations: 14.58 kB / 0.8131 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.4619, allocations: 15.98 kB / 0.8131 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.462, allocations: 9.188 kB / 0.8131 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004721/0.4624, allocations: 0.5859 MB / 0.8137 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9e-08/0.4624, allocations: 0 / 0.8137 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003219/0.4627, allocations: 161 kB / 0.8138 GB, free: 5.715 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.0005693/0.4633, allocations: 0.8816 MB / 0.8147 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003036/0.4636, allocations: 236.3 kB / 0.8149 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4636, allocations: 2.188 kB / 0.8149 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.243e-05/0.4637, allocations: 48.59 kB / 0.815 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.4645, allocations: 372.8 kB / 0.8153 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/0.4692, allocations: 5.449 MB / 0.8207 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.4694, allocations: 344.7 kB / 0.821 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002898/0.4697, allocations: 149.7 kB / 0.8211 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.4699, allocations: 229.8 kB / 0.8213 GB, free: 484 kB / 0.6667 GB Notification: Performance of SimCode: time 4.51e-07/0.4699, allocations: 0 / 0.8213 GB, free: 484 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.4993, allocations: 20.11 MB / 0.841 GB, free: 14.92 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.277, allocations: 14.08 kB / 0.841 GB, free: 14.92 MB / 0.698 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.092999946326017] Failed to read output from testmodel.py, exit status != 0: 8.36917217914015 8.379579884 7.926678802 Calling exit ...