Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.0007559/0.0007559, 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.0008363/0.0008363, 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.9212/0.9212, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001472/0.001472, allocations: 240.2 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6881/0.6881, allocations: 138.4 MB / 454.3 MB, free: 29.97 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.937e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3597/0.3598, allocations: 150.8 MB / 0.7935 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004514/0.3643, allocations: 4.022 MB / 0.7974 GB, free: 232 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.3648, allocations: 31.75 kB / 0.7975 GB, free: 200 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007951/0.3656, allocations: 321.9 kB / 0.7978 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.3673, allocations: 1.072 MB / 0.7988 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.3688, allocations: 0.8529 MB / 0.7997 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.37, allocations: 1.34 MB / 0.801 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005719/0.3706, allocations: 371.9 kB / 0.8013 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009843/0.3716, allocations: 0.8684 MB / 0.8022 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007322/0.3723, allocations: 422.1 kB / 0.8026 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.3723, allocations: 52 kB / 0.8026 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009154/0.3733, allocations: 0.7635 MB / 0.8034 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.3734, allocations: 239.2 kB / 0.8036 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.3736, allocations: 235.5 kB / 0.8038 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.3746, allocations: 1.169 MB / 0.805 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3746, allocations: 4 kB / 0.805 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3746, allocations: 0 / 0.805 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.3746, allocations: 4 kB / 0.805 GB, free: 8.504 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001175/0.3758, allocations: 0.8798 MB / 0.8058 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3759, allocations: 14.59 kB / 0.8059 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.604e-05/0.376, allocations: 82.52 kB / 0.8059 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008691/0.3768, allocations: 263.4 kB / 0.8062 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005897/0.3774, allocations: 446.6 kB / 0.8066 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.3774, allocations: 29 kB / 0.8066 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.3775, allocations: 43.94 kB / 0.8067 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/0.3783, allocations: 0.8897 MB / 0.8075 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3783, allocations: 0 / 0.8075 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.3784, allocations: 24 kB / 0.8076 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.3784, allocations: 17 kB / 0.8076 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008003/0.3792, allocations: 0.5542 MB / 0.8081 GB, free: 5.125 MB / 0.6355 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.002302/0.3815, allocations: 1.892 MB / 0.81 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.382, allocations: 274.3 kB / 0.8102 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.3823, allocations: 168.6 kB / 0.8104 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3823, allocations: 8 kB / 0.8104 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3823, allocations: 30.56 kB / 0.8104 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.3823, allocations: 0 / 0.8104 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.002479/0.3848, allocations: 1.021 MB / 0.8114 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.3849, allocations: 77.11 kB / 0.8115 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/0.3854, allocations: 0.5535 MB / 0.812 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3854, allocations: 33.7 kB / 0.8121 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.3856, allocations: 312 kB / 0.8124 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.3856, allocations: 35.69 kB / 0.8124 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.3857, allocations: 61.66 kB / 0.8125 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.3858, allocations: 362.7 kB / 0.8128 GB, free: 184 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.3861, allocations: 187.9 kB / 0.813 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.3865, allocations: 296.2 kB / 0.8133 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.387, allocations: 405.5 kB / 0.8137 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.387, allocations: 4 kB / 0.8137 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001311/0.3884, allocations: 0.7336 MB / 0.8144 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3884, allocations: 4 kB / 0.8144 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3884, allocations: 4.875 kB / 0.8144 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.3887, allocations: 192.7 kB / 0.8146 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.3889, allocations: 71.89 kB / 0.8146 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.3912, allocations: 2.105 MB / 0.8167 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.3914, allocations: 75.64 kB / 0.8168 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3914, allocations: 12 kB / 0.8168 GB, free: 11.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.3916, allocations: 186.4 kB / 0.817 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.3917, allocations: 55.67 kB / 0.817 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.3917, allocations: 52.09 kB / 0.8171 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3917, allocations: 4 kB / 0.8171 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3917, allocations: 3.938 kB / 0.8171 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3917, allocations: 0 / 0.8171 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.3932, allocations: 1.038 MB / 0.8181 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3932, allocations: 0 / 0.8181 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3934, allocations: 36.02 kB / 0.8181 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/0.3936, allocations: 188.6 kB / 0.8183 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3937, allocations: 7.984 kB / 0.8183 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.3955, allocations: 2.064 MB / 0.8203 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3955, allocations: 4.031 kB / 0.8203 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3967, allocations: 0.702 MB / 0.821 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.3968, allocations: 91.62 kB / 0.8211 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.3968, allocations: 3.984 kB / 0.8211 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.3971, allocations: 48.58 kB / 0.8211 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.3971, allocations: 15.91 kB / 0.8212 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.3972, allocations: 18.23 kB / 0.8212 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002808/0.3975, allocations: 394.8 kB / 0.8216 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.3975, allocations: 0 / 0.8216 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004036/0.3979, allocations: 183.8 kB / 0.8217 GB, free: 6.668 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001639/0.3995, allocations: 1.3 MB / 0.823 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008067/0.4003, allocations: 0.512 MB / 0.8235 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4003, allocations: 0 / 0.8235 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.4007, allocations: 295.5 kB / 0.8238 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008054/0.4015, allocations: 316.1 kB / 0.8241 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006304/0.4078, allocations: 5.058 MB / 0.829 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.4079, allocations: 264 kB / 0.8293 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000273/0.4082, allocations: 105.5 kB / 0.8294 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.4084, allocations: 160.4 kB / 0.8295 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of SimCode: time 1.052e-06/0.4084, allocations: 0 / 0.8295 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.4378, allocations: 18.38 MB / 0.8475 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.263, allocations: 2.922 kB / 0.8475 GB, free: 12.59 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.882226791232824] Failed to read output from testmodel.py, exit status != 0: 8.358166620135307 8.367465129 7.990762708 Calling exit ...