Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 104.7 kB / 16.4 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 195.4 kB / 17.34 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7497/0.7497, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 60.45 kB / 0.568 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1371, allocations: 77.92 MB / 0.6441 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.54/0.6771, allocations: 187.1 MB / 0.8268 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.6928, allocations: 13.03 MB / 0.8395 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.6944, allocations: 28.69 kB / 0.8395 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.6959, allocations: 422.8 kB / 0.8399 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.6985, allocations: 0.9603 MB / 0.8409 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.7005, allocations: 0.7227 MB / 0.8416 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.7025, allocations: 1.504 MB / 0.843 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008234/0.7034, allocations: 0.65 MB / 0.8437 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.7071, allocations: 1.775 MB / 0.8454 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.7083, allocations: 0.506 MB / 0.8459 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.385e-05/0.7084, allocations: 53.59 kB / 0.846 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.71, allocations: 0.8773 MB / 0.8468 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.7103, allocations: 281.4 kB / 0.8471 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003688/0.7107, allocations: 388.7 kB / 0.8475 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.7123, allocations: 1.175 MB / 0.8486 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7123, allocations: 0 / 0.8486 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7123, allocations: 0 / 0.8486 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.7123, allocations: 2.281 kB / 0.8486 GB, free: 8.348 MB / 0.6075 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.001398/0.7138, allocations: 1.078 MB / 0.8497 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.7138, allocations: 9.031 kB / 0.8497 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.7139, allocations: 105.1 kB / 0.8498 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009246/0.7148, allocations: 195 kB / 0.8499 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008435/0.7157, allocations: 0.5594 MB / 0.8505 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.7157, allocations: 43.56 kB / 0.8505 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.7158, allocations: 56.47 kB / 0.8506 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.7169, allocations: 0.7755 MB / 0.8513 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.717, allocations: 2.094 kB / 0.8514 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.717, allocations: 31.94 kB / 0.8514 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.7171, allocations: 20.53 kB / 0.8514 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008382/0.7179, allocations: 464 kB / 0.8518 GB, free: 5.902 MB / 0.6075 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.003465/0.7214, allocations: 4.39 MB / 0.8561 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.7215, allocations: 101 kB / 0.8562 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.7216, allocations: 71.66 kB / 0.8563 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.7218, allocations: 97.94 kB / 0.8564 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.7218, allocations: 40.59 kB / 0.8564 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.964e-06/0.7218, allocations: 0 / 0.8564 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006269/0.7225, allocations: 246.4 kB / 0.8567 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.7225, allocations: 131.3 kB / 0.8568 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009889/0.7235, allocations: 0.8403 MB / 0.8576 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.7236, allocations: 32.61 kB / 0.8576 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.7238, allocations: 413.2 kB / 0.858 GB, free: 312 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.7239, allocations: 39.47 kB / 0.8581 GB, free: 280 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.724, allocations: 93.09 kB / 0.8582 GB, free: 216 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7241, allocations: 326.7 kB / 0.8585 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.7244, allocations: 118 kB / 0.8586 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.7248, allocations: 369.1 kB / 0.8589 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.7253, allocations: 437.9 kB / 0.8594 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7253, allocations: 4 kB / 0.8594 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008687/0.7262, allocations: 0.5012 MB / 0.8598 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7262, allocations: 12.03 kB / 0.8599 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7262, allocations: 8 kB / 0.8599 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.7263, allocations: 8 kB / 0.8599 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.7266, allocations: 95.83 kB / 0.86 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.7266, allocations: 19.92 kB / 0.86 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/0.7273, allocations: 119.2 kB / 0.8601 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.7273, allocations: 27.94 kB / 0.8601 GB, free: 13.98 MB / 0.6231 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.0002422/0.7276, allocations: 233.6 kB / 0.8603 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.7277, allocations: 75.53 kB / 0.8604 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.502e-05/0.7278, allocations: 74.17 kB / 0.8605 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7278, allocations: 4 kB / 0.8605 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7278, allocations: 4 kB / 0.8605 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7278, allocations: 0 / 0.8605 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.7291, allocations: 1.124 MB / 0.8616 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.7291, allocations: 0 / 0.8616 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.311e-05/0.7292, allocations: 19.94 kB / 0.8616 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.7292, allocations: 7.984 kB / 0.8616 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.7292, allocations: 4 kB / 0.8616 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7292, allocations: 0.875 kB / 0.8616 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7292, allocations: 4.312 kB / 0.8616 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.7295, allocations: 272.1 kB / 0.8619 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.7297, allocations: 176.5 kB / 0.8621 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/0.7298, allocations: 7.984 kB / 0.8621 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.7301, allocations: 19.98 kB / 0.8621 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.7302, allocations: 11.94 kB / 0.8621 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.7302, allocations: 9 kB / 0.8621 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007323/0.7309, allocations: 0.5849 MB / 0.8627 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7309, allocations: 0 / 0.8627 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005767/0.7315, allocations: 151.8 kB / 0.8628 GB, free: 11.06 MB / 0.6231 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.0007954/0.7323, allocations: 0.9025 MB / 0.8637 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005008/0.7328, allocations: 237.4 kB / 0.8639 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7329, allocations: 3.938 kB / 0.8639 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.7329, allocations: 52.17 kB / 0.864 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.7345, allocations: 379 kB / 0.8643 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006498/0.741, allocations: 5.469 MB / 0.8697 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.7415, allocations: 0.9331 MB / 0.8706 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004788/0.7419, allocations: 146.1 kB / 0.8707 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.7422, allocations: 231.4 kB / 0.871 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/0.7422, allocations: 4 kB / 0.871 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/0.7814, allocations: 17.98 MB / 0.8885 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.867/9.649, allocations: 15.88 kB / 0.8885 GB, free: 0.6641 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)