Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_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.001098/0.001098, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 197.1 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 72.66 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.237, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6006/0.8377, allocations: 187.1 MB / 0.9663 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.8505, allocations: 12.99 MB / 0.979 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.852, allocations: 30.56 kB / 0.9791 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.8533, allocations: 409.9 kB / 0.9794 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.8558, allocations: 0.9202 MB / 0.9803 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.8578, allocations: 0.7077 MB / 0.981 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002239/0.86, allocations: 1.495 MB / 0.9825 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.8611, allocations: 0.651 MB / 0.9831 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004292/0.8654, allocations: 1.714 MB / 0.9848 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.8669, allocations: 0.5014 MB / 0.9853 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.867, allocations: 57.25 kB / 0.9854 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.8691, allocations: 0.8783 MB / 0.9862 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.8694, allocations: 278.1 kB / 0.9865 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.8698, allocations: 383.7 kB / 0.9868 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.8723, allocations: 1.173 MB / 0.988 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.8723, allocations: 0 / 0.988 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.208e-06/0.8723, allocations: 0 / 0.988 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.8724, allocations: 0 / 0.988 GB, free: 10.94 MB / 0.7325 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.001865/0.8742, allocations: 1.049 MB / 0.989 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.8743, allocations: 10.53 kB / 0.989 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.8744, allocations: 99.42 kB / 0.9891 GB, free: 10 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009372/0.8754, allocations: 198.5 kB / 0.9893 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007647/0.8762, allocations: 0.543 MB / 0.9898 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.8762, allocations: 42.06 kB / 0.9899 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.8763, allocations: 62.09 kB / 0.9899 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.8773, allocations: 0.7745 MB / 0.9907 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.8773, allocations: 10 kB / 0.9907 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.8774, allocations: 27.69 kB / 0.9907 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.8774, allocations: 21.62 kB / 0.9907 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000781/0.8782, allocations: 470.3 kB / 0.9912 GB, free: 8.559 MB / 0.7325 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.003241/0.8814, allocations: 4.381 MB / 0.9955 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.8816, allocations: 108.7 kB / 0.9956 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.028e-05/0.8817, allocations: 74.08 kB / 0.9956 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.8818, allocations: 97.22 kB / 0.9957 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.8819, allocations: 41.22 kB / 0.9958 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.8819, allocations: 0 / 0.9958 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005858/0.8825, allocations: 241.9 kB / 0.996 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.8826, allocations: 130.8 kB / 0.9961 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/0.8835, allocations: 0.843 MB / 0.997 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.8836, allocations: 28.61 kB / 0.997 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.8838, allocations: 402.8 kB / 0.9974 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.8839, allocations: 36.16 kB / 0.9974 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.884, allocations: 95.62 kB / 0.9975 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.8841, allocations: 326.7 kB / 0.9978 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.8844, allocations: 110.7 kB / 0.9979 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.8848, allocations: 359.9 kB / 0.9983 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.8853, allocations: 452.1 kB / 0.9987 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.8853, allocations: 3 kB / 0.9987 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008003/0.8861, allocations: 0.4905 MB / 0.9992 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.8861, allocations: 7.969 kB / 0.9992 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.8861, allocations: 10.28 kB / 0.9992 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.8862, allocations: 10.09 kB / 0.9992 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.8864, allocations: 94.39 kB / 0.9993 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.8865, allocations: 16.78 kB / 0.9993 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/0.8871, allocations: 117.8 kB / 0.9994 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.8871, allocations: 32.56 kB / 0.9994 GB, free: 1.367 MB / 0.7325 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.0002115/0.8873, allocations: 223.4 kB / 0.9997 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.8875, allocations: 78.33 kB / 0.9997 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.206e-05/0.8876, allocations: 70.05 kB / 0.9998 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.8876, allocations: 6.391 kB / 0.9998 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8876, allocations: 0 / 0.9998 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8876, allocations: 2.406 kB / 0.9998 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.8887, allocations: 1.123 MB / 1.001 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.8887, allocations: 3.062 kB / 1.001 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.8888, allocations: 18.81 kB / 1.001 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8888, allocations: 2.688 kB / 1.001 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.8888, allocations: 2.438 kB / 1.001 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.8888, allocations: 6.531 kB / 1.001 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.8888, allocations: 8.828 kB / 1.001 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.8891, allocations: 268.1 kB / 1.001 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.8893, allocations: 172.1 kB / 1.001 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-05/0.8894, allocations: 4.219 kB / 1.001 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.8897, allocations: 22.22 kB / 1.001 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.8897, allocations: 15.41 kB / 1.001 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.8897, allocations: 2.75 kB / 1.001 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006809/0.8904, allocations: 0.5924 MB / 1.002 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.8904, allocations: 0 / 1.002 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004866/0.8909, allocations: 157.1 kB / 1.002 GB, free: 15.32 MB / 0.7481 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.0007926/0.8917, allocations: 0.8872 MB / 1.003 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.8922, allocations: 239.2 kB / 1.003 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8922, allocations: 0 / 1.003 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.147e-05/0.8923, allocations: 48.75 kB / 1.003 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.8938, allocations: 387.1 kB / 1.004 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.8999, allocations: 5.441 MB / 1.009 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.9003, allocations: 0.9332 MB / 1.01 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004326/0.9008, allocations: 142.7 kB / 1.01 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.901, allocations: 232.4 kB / 1.01 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.901, allocations: 3.094 kB / 1.01 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03871/0.9397, allocations: 17.78 MB / 1.028 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/9.216, allocations: 19.67 kB / 1.028 GB, free: 15.66 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)