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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 190.1 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 294.4 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.928/0.928, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 89.11 kB / 0.5946 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1285, allocations: 86.98 MB / 0.6795 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04156/0.1701, allocations: 49.44 MB / 0.7278 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.1854, allocations: 12.72 MB / 0.7402 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.1875, allocations: 75.5 kB / 0.7403 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.1891, allocations: 0.6174 MB / 0.7409 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003898/0.193, allocations: 1.698 MB / 0.7426 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.1959, allocations: 1.21 MB / 0.7438 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004373/0.2002, allocations: 4.368 MB / 0.748 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.2016, allocations: 1.066 MB / 0.7491 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.2034, allocations: 1.116 MB / 0.7501 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.2045, allocations: 0.9563 MB / 0.7511 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.2047, allocations: 60 kB / 0.7511 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.2066, allocations: 1.052 MB / 0.7522 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.2069, allocations: 258.8 kB / 0.7524 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005811/0.2074, allocations: 0.6332 MB / 0.753 GB, free: 5.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.2095, allocations: 1.916 MB / 0.7549 GB, free: 3.633 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2095, allocations: 3.938 kB / 0.7549 GB, free: 3.629 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.31e-07/0.2095, allocations: 0 / 0.7549 GB, free: 3.629 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.2095, allocations: 0 / 0.7549 GB, free: 3.629 MB / 0.545 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.002298/0.2118, allocations: 1.697 MB / 0.7566 GB, free: 1.879 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2119, allocations: 12.03 kB / 0.7566 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.212, allocations: 131.4 kB / 0.7567 GB, free: 1.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000567/0.2126, allocations: 211.1 kB / 0.7569 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.2142, allocations: 1.098 MB / 0.758 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003458/0.2146, allocations: 126 kB / 0.7581 GB, free: 252 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.126e-05/0.2147, allocations: 80 kB / 0.7582 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.2163, allocations: 0.9922 MB / 0.7591 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2163, allocations: 7.938 kB / 0.7591 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.2164, allocations: 36 kB / 0.7592 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.2164, allocations: 24 kB / 0.7592 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.2179, allocations: 0.6556 MB / 0.7598 GB, free: 14.38 MB / 0.5606 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.004532/0.2224, allocations: 4.416 MB / 0.7642 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.2236, allocations: 402.6 kB / 0.7645 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/0.2242, allocations: 232.6 kB / 0.7648 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008022/0.225, allocations: 1.148 MB / 0.7659 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.225, allocations: 34.56 kB / 0.7659 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.883e-06/0.225, allocations: 0 / 0.7659 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.00283/0.2278, allocations: 1.094 MB / 0.767 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.2279, allocations: 51.41 kB / 0.767 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.229, allocations: 0.9356 MB / 0.768 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.2291, allocations: 37.7 kB / 0.768 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.2295, allocations: 0.5773 MB / 0.7685 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.88e-05/0.2296, allocations: 102.6 kB / 0.7686 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.2297, allocations: 110 kB / 0.7688 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.2298, allocations: 322 kB / 0.7691 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.2304, allocations: 193 kB / 0.7692 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/0.2311, allocations: 387.5 kB / 0.7696 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.2322, allocations: 0.5726 MB / 0.7702 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2322, allocations: 0 / 0.7702 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001553/0.2338, allocations: 0.741 MB / 0.7709 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2338, allocations: 12 kB / 0.7709 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2338, allocations: 4 kB / 0.7709 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/0.2345, allocations: 162.3 kB / 0.7711 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.2351, allocations: 139.8 kB / 0.7712 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009762/0.2361, allocations: 1.723 MB / 0.7729 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.2368, allocations: 103.5 kB / 0.773 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2489/0.4857, allocations: 30.09 kB / 0.773 GB, free: 95.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0005139/0.4863, allocations: 261.7 kB / 0.7733 GB, free: 95.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.4865, allocations: 112.2 kB / 0.7734 GB, free: 95.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.4885, allocations: 0.7339 MB / 0.7741 GB, free: 95.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.4885, allocations: 5.484 kB / 0.7741 GB, free: 95.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4885, allocations: 2.656 kB / 0.7741 GB, free: 95.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4885, allocations: 1.688 kB / 0.7741 GB, free: 95.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.4913, allocations: 1.646 MB / 0.7757 GB, free: 94.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.4913, allocations: 1.625 kB / 0.7757 GB, free: 94.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/0.4919, allocations: 87.56 kB / 0.7758 GB, free: 94.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005583/0.4924, allocations: 155 kB / 0.7759 GB, free: 94.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.4925, allocations: 10.42 kB / 0.7759 GB, free: 94.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006993/0.4932, allocations: 1.707 MB / 0.7776 GB, free: 93.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.4932, allocations: 5.406 kB / 0.7776 GB, free: 93.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.4947, allocations: 0.7889 MB / 0.7784 GB, free: 92.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.495, allocations: 247.3 kB / 0.7786 GB, free: 92.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.4952, allocations: 6.938 kB / 0.7786 GB, free: 92.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/0.4958, allocations: 76.06 kB / 0.7787 GB, free: 92.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.4959, allocations: 30.2 kB / 0.7787 GB, free: 92.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.4959, allocations: 20.36 kB / 0.7787 GB, free: 92.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007236/0.4967, allocations: 0.6314 MB / 0.7794 GB, free: 92.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4967, allocations: 3.969 kB / 0.7794 GB, free: 92.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009194/0.4976, allocations: 362.2 kB / 0.7797 GB, free: 92.3 MB / 0.5606 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.002238/0.4998, allocations: 1.61 MB / 0.7813 GB, free: 91.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.5014, allocations: 0.5328 MB / 0.7818 GB, free: 91.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5014, allocations: 1.125 kB / 0.7818 GB, free: 91.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008151/0.5022, allocations: 298.2 kB / 0.7821 GB, free: 91.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.5045, allocations: 0.5031 MB / 0.7826 GB, free: 91.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.515, allocations: 7.934 MB / 0.7903 GB, free: 86.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.5156, allocations: 1.102 MB / 0.7914 GB, free: 85.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007751/0.5164, allocations: 184.8 kB / 0.7916 GB, free: 85.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.5168, allocations: 419.1 kB / 0.792 GB, free: 85.32 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.5168, allocations: 0 / 0.792 GB, free: 85.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.001/3.517, allocations: 27.53 MB / 0.8189 GB, free: 71.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/3.518, allocations: 300.3 kB / 0.8192 GB, free: 70.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/6.762, allocations: 0 / 0.8192 GB, free: 70.79 MB / 0.5606 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)