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.001287/0.001287, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001367/0.001367, allocations: 213.7 kB / 22.24 MB, free: 5.262 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.354/1.354, allocations: 230.6 MB / 256 MB, free: 7.805 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.002397/0.002397, allocations: 290.2 kB / 312.7 MB, free: 2.621 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 1.138/1.138, allocations: 180.6 MB / 0.5369 GB, free: 14.49 MB / 382.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",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.002784/0.002784, allocations: 105.8 kB / 0.7395 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1661, allocations: 95.38 MB / 0.8327 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04866/0.2147, allocations: 45.74 MB / 0.8773 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01931/0.234, allocations: 11.85 MB / 0.8889 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00289/0.2369, allocations: 111.1 kB / 0.889 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.2393, allocations: 0.7643 MB / 0.8897 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005641/0.2449, allocations: 1.944 MB / 0.8916 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.2489, allocations: 1.384 MB / 0.893 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004925/0.2538, allocations: 3.314 MB / 0.8962 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.2557, allocations: 0.9503 MB / 0.8972 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003506/0.2592, allocations: 1.371 MB / 0.8985 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.261, allocations: 0.9328 MB / 0.8994 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003308/0.2614, allocations: 96 kB / 0.8995 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.2637, allocations: 0.8965 MB / 0.9004 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005022/0.2642, allocations: 302.6 kB / 0.9007 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.2654, allocations: 0.552 MB / 0.9012 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003887/0.2692, allocations: 2.024 MB / 0.9032 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2692, allocations: 0 / 0.9032 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.582e-06/0.2693, allocations: 0 / 0.9032 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.632e-05/0.2693, allocations: 0 / 0.9032 GB, free: 15.84 MB / 0.6544 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.003339/0.2727, allocations: 1.671 MB / 0.9048 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2727, allocations: 9.938 kB / 0.9048 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/0.2729, allocations: 139.4 kB / 0.905 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007372/0.2736, allocations: 227.9 kB / 0.9052 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.2759, allocations: 1.029 MB / 0.9062 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/0.276, allocations: 70.12 kB / 0.9062 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.2761, allocations: 76 kB / 0.9063 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.2779, allocations: 1.144 MB / 0.9074 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.2779, allocations: 4 kB / 0.9074 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/0.278, allocations: 39.98 kB / 0.9075 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.278, allocations: 20 kB / 0.9075 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.2794, allocations: 0.6516 MB / 0.9081 GB, free: 10.57 MB / 0.6544 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.004862/0.2843, allocations: 3.936 MB / 0.912 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.2854, allocations: 378.6 kB / 0.9123 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.2859, allocations: 202 kB / 0.9125 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004127/0.2863, allocations: 99.92 kB / 0.9126 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.2863, allocations: 38.56 kB / 0.9127 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=29): time 2.214e-06/0.2863, allocations: 0 / 0.9127 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29): time 0.002648/0.289, allocations: 0.8516 MB / 0.9135 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.289, allocations: 63.28 kB / 0.9135 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.2902, allocations: 0.991 MB / 0.9145 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.2903, allocations: 33.7 kB / 0.9145 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004976/0.2908, allocations: 0.5979 MB / 0.9151 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.2909, allocations: 111 kB / 0.9152 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.291, allocations: 110.1 kB / 0.9153 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2912, allocations: 329.9 kB / 0.9157 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.2917, allocations: 200.8 kB / 0.9158 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007743/0.2925, allocations: 0.5471 MB / 0.9164 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.2937, allocations: 0.6018 MB / 0.917 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.2937, allocations: 4 kB / 0.917 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001591/0.2953, allocations: 0.7568 MB / 0.9177 GB, free: 312 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2953, allocations: 8 kB / 0.9177 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.2953, allocations: 12 kB / 0.9177 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006534/0.2959, allocations: 166.9 kB / 0.9179 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/0.2965, allocations: 139.8 kB / 0.918 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.2978, allocations: 1.719 MB / 0.9197 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/0.2984, allocations: 87.48 kB / 0.9198 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.2984, allocations: 31.98 kB / 0.9198 GB, free: 14.06 MB / 0.67 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.00041/0.2988, allocations: 266.3 kB / 0.9201 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.299, allocations: 123.4 kB / 0.9202 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.3008, allocations: 0.7232 MB / 0.9209 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.3008, allocations: 7.938 kB / 0.9209 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3008, allocations: 0 / 0.9209 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3008, allocations: 4 kB / 0.9209 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.3036, allocations: 1.542 MB / 0.9224 GB, free: 11.31 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.3036, allocations: 4 kB / 0.9224 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.3041, allocations: 88.03 kB / 0.9225 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005519/0.3046, allocations: 154.4 kB / 0.9226 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.3046, allocations: 8 kB / 0.9227 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.3058, allocations: 1.712 MB / 0.9243 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3058, allocations: 4.031 kB / 0.9243 GB, free: 9.258 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.3074, allocations: 0.7847 MB / 0.9251 GB, free: 8.43 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.3078, allocations: 183 kB / 0.9253 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3079, allocations: 8 kB / 0.9253 GB, free: 8.242 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/0.3084, allocations: 43.95 kB / 0.9253 GB, free: 8.199 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.3085, allocations: 35.81 kB / 0.9254 GB, free: 8.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.3086, allocations: 23.98 kB / 0.9254 GB, free: 8.141 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008416/0.3094, allocations: 0.6619 MB / 0.926 GB, free: 7.473 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.3094, allocations: 4 kB / 0.926 GB, free: 7.469 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009932/0.3104, allocations: 386.9 kB / 0.9264 GB, free: 7.09 MB / 0.67 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.002336/0.3127, allocations: 1.606 MB / 0.928 GB, free: 5.434 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.3142, allocations: 0.5486 MB / 0.9285 GB, free: 4.887 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3142, allocations: 0 / 0.9285 GB, free: 4.887 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007639/0.315, allocations: 284.2 kB / 0.9288 GB, free: 4.609 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.3171, allocations: 0.5163 MB / 0.9293 GB, free: 4.109 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.3282, allocations: 7.338 MB / 0.9364 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.3288, allocations: 0.5177 MB / 0.9369 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006301/0.3294, allocations: 187.9 kB / 0.9371 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/0.3299, allocations: 419.3 kB / 0.9375 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of SimCode: time 7.81e-07/0.3299, allocations: 0 / 0.9375 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06563/0.3955, allocations: 31.86 MB / 0.9686 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.2, allocations: 7.562 kB / 0.9686 GB, free: 12.07 MB / 0.7169 GB " [Timeout remaining time 647] (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 sys.exit(0), Time elapsed: 17.405195388011634] Failed to read output from testmodel.py, exit status != 0: 13.327423179987818 13.64570495 13.373291359 Calling exit ...