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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 109.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002373/0.002373, allocations: 286 kB / 303 MB, free: 9.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 180.9 MB / 0.5261 GB, free: 14.68 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 99.94 kB / 0.7248 GB, free: 40.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1553, allocations: 94.16 MB / 0.8167 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.0533/0.2086, allocations: 50.11 MB / 0.8657 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.2283, allocations: 12.71 MB / 0.8781 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.2309, allocations: 79.56 kB / 0.8782 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.2331, allocations: 0.7916 MB / 0.8789 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005121/0.2383, allocations: 1.911 MB / 0.8808 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.2419, allocations: 1.368 MB / 0.8821 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004627/0.2465, allocations: 3.248 MB / 0.8853 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.248, allocations: 1.04 MB / 0.8863 GB, free: 14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.2511, allocations: 1.321 MB / 0.8876 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.2524, allocations: 0.9875 MB / 0.8886 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.2526, allocations: 96 kB / 0.8887 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.255, allocations: 1.088 MB / 0.8897 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.2553, allocations: 302.6 kB / 0.89 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007308/0.256, allocations: 0.6723 MB / 0.8907 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.259, allocations: 1.962 MB / 0.8926 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.259, allocations: 3.938 kB / 0.8926 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.894e-06/0.259, allocations: 0 / 0.8926 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.259, allocations: 4 kB / 0.8926 GB, free: 7.562 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.002655/0.2617, allocations: 1.746 MB / 0.8943 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.2617, allocations: 12.03 kB / 0.8943 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001641/0.2619, allocations: 135.4 kB / 0.8944 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/0.2625, allocations: 211.9 kB / 0.8946 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.2645, allocations: 1.105 MB / 0.8957 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/0.2646, allocations: 70.12 kB / 0.8958 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.2647, allocations: 80 kB / 0.8959 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.2664, allocations: 1.007 MB / 0.8968 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.2664, allocations: 7.938 kB / 0.8969 GB, free: 3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.2665, allocations: 36 kB / 0.8969 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.2665, allocations: 24 kB / 0.8969 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.2679, allocations: 0.6477 MB / 0.8975 GB, free: 2.293 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.005508/0.2734, allocations: 4.731 MB / 0.9022 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.2745, allocations: 378.6 kB / 0.9025 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.275, allocations: 201.2 kB / 0.9027 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.2761, allocations: 1.148 MB / 0.9038 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.2761, allocations: 46.56 kB / 0.9039 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=29): time 3.967e-06/0.2761, allocations: 3.984 kB / 0.9039 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29): time 0.002785/0.2789, allocations: 1.073 MB / 0.9049 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2789, allocations: 59.34 kB / 0.905 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.2801, allocations: 0.9832 MB / 0.9059 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.2801, allocations: 29.7 kB / 0.906 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/0.2806, allocations: 0.5939 MB / 0.9066 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.2807, allocations: 115 kB / 0.9067 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.2809, allocations: 110.2 kB / 0.9068 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.281, allocations: 326 kB / 0.9071 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.2815, allocations: 201 kB / 0.9073 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/0.2822, allocations: 410.3 kB / 0.9077 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.2834, allocations: 0.6027 MB / 0.9083 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2834, allocations: 0 / 0.9083 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001584/0.285, allocations: 0.7644 MB / 0.909 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.285, allocations: 8 kB / 0.909 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.285, allocations: 8 kB / 0.909 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006591/0.2857, allocations: 155.1 kB / 0.9092 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.2863, allocations: 147.8 kB / 0.9093 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.2875, allocations: 1.72 MB / 0.911 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/0.2881, allocations: 83.48 kB / 0.9111 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.2882, allocations: 31.98 kB / 0.9111 GB, free: 3.469 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.0004252/0.2886, allocations: 270.1 kB / 0.9114 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.2888, allocations: 119.2 kB / 0.9115 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.2905, allocations: 0.7126 MB / 0.9122 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.2905, allocations: 15.92 kB / 0.9122 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2906, allocations: 0 / 0.9122 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2906, allocations: 0 / 0.9122 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.2934, allocations: 1.633 MB / 0.9138 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2935, allocations: 0 / 0.9138 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.2939, allocations: 87.89 kB / 0.9139 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005653/0.2945, allocations: 158.7 kB / 0.914 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.2945, allocations: 11.98 kB / 0.914 GB, free: 372 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.2957, allocations: 1.708 MB / 0.9157 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.2957, allocations: 4.031 kB / 0.9157 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.2972, allocations: 0.7852 MB / 0.9165 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.2976, allocations: 248.2 kB / 0.9167 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.2977, allocations: 8.062 kB / 0.9167 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/0.2982, allocations: 47.94 kB / 0.9167 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.2983, allocations: 31.91 kB / 0.9168 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.2984, allocations: 23.98 kB / 0.9168 GB, free: 13.37 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008829/0.2992, allocations: 0.658 MB / 0.9174 GB, free: 12.71 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.2992, allocations: 0 / 0.9174 GB, free: 12.71 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001005/0.3003, allocations: 386.9 kB / 0.9178 GB, free: 12.33 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.00257/0.3028, allocations: 1.635 MB / 0.9194 GB, free: 10.65 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.3043, allocations: 0.536 MB / 0.9199 GB, free: 10.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3043, allocations: 0 / 0.9199 GB, free: 10.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007748/0.3051, allocations: 288 kB / 0.9202 GB, free: 9.836 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.3073, allocations: 0.522 MB / 0.9207 GB, free: 9.332 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.3191, allocations: 7.324 MB / 0.9279 GB, free: 1.652 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008464/0.3199, allocations: 1.099 MB / 0.9289 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006857/0.3206, allocations: 187.7 kB / 0.9291 GB, free: 352 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.3211, allocations: 423.4 kB / 0.9295 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/0.3211, allocations: 0 / 0.9295 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07012/0.3913, allocations: 29.69 MB / 0.9585 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.15, allocations: 2.406 kB / 0.9585 GB, free: 2.777 MB / 0.7012 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.10483658593148] Failed to read output from testmodel.py, exit status != 0: 13.257831229828298 13.270738459 13.009043611 Calling exit ...