Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001193/0.001193, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001241/0.001241, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.37/1.37, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.002353/0.002353, allocations: 283.9 kB / 309.8 MB, free: 3.449 MB / 238.1 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.9981/0.9981, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.1 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.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 103.9 kB / 0.7347 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4937, allocations: 95.34 MB / 0.8278 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05259/0.5463, allocations: 50.35 MB / 0.877 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02075/0.5671, allocations: 12.72 MB / 0.8894 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004256/0.5713, allocations: 110.5 kB / 0.8895 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.574, allocations: 0.7835 MB / 0.8903 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006183/0.5802, allocations: 1.927 MB / 0.8921 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003696/0.5839, allocations: 1.368 MB / 0.8935 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004787/0.5887, allocations: 3.262 MB / 0.8967 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.5902, allocations: 1.044 MB / 0.8977 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.5935, allocations: 1.331 MB / 0.899 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.5948, allocations: 0.989 MB / 0.8999 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.5949, allocations: 95.06 kB / 0.9 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.5974, allocations: 1.153 MB / 0.9012 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.5977, allocations: 302.2 kB / 0.9014 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006838/0.5984, allocations: 0.6771 MB / 0.9021 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.6013, allocations: 2.072 MB / 0.9041 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6013, allocations: 1.938 kB / 0.9041 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6013, allocations: 0 / 0.9041 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.6013, allocations: 4 kB / 0.9041 GB, free: 10.09 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002628/0.604, allocations: 1.756 MB / 0.9058 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.604, allocations: 10.19 kB / 0.9059 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.83e-05/0.604, allocations: 21.59 kB / 0.9059 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.6042, allocations: 137 kB / 0.906 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006989/0.6049, allocations: 225.7 kB / 0.9062 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.6068, allocations: 1.105 MB / 0.9073 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.6068, allocations: 69.38 kB / 0.9074 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.6069, allocations: 87.72 kB / 0.9075 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.6087, allocations: 1.007 MB / 0.9084 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.6087, allocations: 5.969 kB / 0.9084 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.912e-05/0.6088, allocations: 34.16 kB / 0.9085 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.6088, allocations: 25.38 kB / 0.9085 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.6103, allocations: 0.6521 MB / 0.9091 GB, free: 6.363 MB / 0.6387 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.005196/0.6155, allocations: 4.734 MB / 0.9138 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.6166, allocations: 374.6 kB / 0.9141 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.6172, allocations: 201.2 kB / 0.9143 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009617/0.6181, allocations: 1.152 MB / 0.9154 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.6181, allocations: 34.56 kB / 0.9155 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=29): time 1.834e-06/0.6181, allocations: 0 / 0.9155 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29): time 0.002947/0.6211, allocations: 1.083 MB / 0.9165 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.6211, allocations: 59.41 kB / 0.9166 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.6224, allocations: 0.9794 MB / 0.9175 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.6224, allocations: 33.7 kB / 0.9176 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.6229, allocations: 0.5901 MB / 0.9181 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.623, allocations: 115.1 kB / 0.9183 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.6232, allocations: 110.2 kB / 0.9184 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6233, allocations: 326 kB / 0.9187 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.6239, allocations: 200.9 kB / 0.9189 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007476/0.6246, allocations: 410.3 kB / 0.9193 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.6258, allocations: 0.6021 MB / 0.9198 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6258, allocations: 64 / 0.9198 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001657/0.6275, allocations: 0.7642 MB / 0.9206 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.6275, allocations: 8 kB / 0.9206 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.6275, allocations: 8.844 kB / 0.9206 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/0.6282, allocations: 150.4 kB / 0.9207 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.6289, allocations: 151.8 kB / 0.9209 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.6302, allocations: 1.72 MB / 0.9226 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/0.6309, allocations: 83.48 kB / 0.9227 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.631, allocations: 31.98 kB / 0.9227 GB, free: 7.547 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004218/0.6314, allocations: 274.2 kB / 0.9229 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.6316, allocations: 123.1 kB / 0.9231 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.6334, allocations: 0.7104 MB / 0.9238 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.6334, allocations: 11.92 kB / 0.9238 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6335, allocations: 0 / 0.9238 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6335, allocations: 0 / 0.9238 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.6364, allocations: 1.629 MB / 0.9254 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6364, allocations: 0 / 0.9254 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.6368, allocations: 92.08 kB / 0.9254 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005646/0.6374, allocations: 154.5 kB / 0.9256 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.6374, allocations: 15.98 kB / 0.9256 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.6386, allocations: 1.704 MB / 0.9273 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6386, allocations: 8.219 kB / 0.9273 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.6401, allocations: 0.785 MB / 0.928 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/0.6405, allocations: 256.1 kB / 0.9283 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.6406, allocations: 8 kB / 0.9283 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.6412, allocations: 47.94 kB / 0.9283 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.6413, allocations: 27.91 kB / 0.9284 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.6413, allocations: 23.98 kB / 0.9284 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008691/0.6422, allocations: 0.658 MB / 0.929 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.6422, allocations: 0 / 0.929 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001191/0.6434, allocations: 383 kB / 0.9294 GB, free: 424 kB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002508/0.6459, allocations: 1.6 MB / 0.931 GB, free: 14.76 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.6475, allocations: 0.5401 MB / 0.9315 GB, free: 14.22 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6475, allocations: 4 kB / 0.9315 GB, free: 14.22 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008058/0.6483, allocations: 281.1 kB / 0.9318 GB, free: 13.95 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.6505, allocations: 0.5277 MB / 0.9323 GB, free: 13.43 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.6615, allocations: 7.322 MB / 0.9394 GB, free: 5.766 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.6622, allocations: 1.099 MB / 0.9405 GB, free: 4.637 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006033/0.6628, allocations: 191.7 kB / 0.9407 GB, free: 4.449 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/0.6633, allocations: 419.3 kB / 0.9411 GB, free: 4.043 MB / 0.67 GB Notification: Performance of SimCode: time 7.92e-07/0.6633, allocations: 0 / 0.9411 GB, free: 4.043 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05757/0.7208, allocations: 29.69 MB / 0.9701 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.82, allocations: 7.922 kB / 0.9701 GB, free: 6.867 MB / 0.7012 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.643460204009898] Failed to read output from testmodel.py, exit status != 0: 13.987213542975951 14.011631931 13.405530829 Calling exit ...