Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6994/0.6994, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008415/0.0008415, allocations: 178.4 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008477, allocations: 98.19 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 270.8 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.319e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3583, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.489/3.847, allocations: 1.828 GB / 2.593 GB, free: 178.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/3.848, allocations: 81.95 kB / 2.593 GB, free: 178.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.546/6.394, allocations: 0.9661 GB / 3.559 GB, free: 14.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.273e-06/6.394, allocations: 0 / 3.559 GB, free: 14.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.215e-05/6.394, allocations: 31.98 kB / 3.559 GB, free: 14.61 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001239/6.395, allocations: 1.087 MB / 3.56 GB, free: 13.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/6.395, allocations: 8.031 kB / 3.56 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.476e-05/6.395, allocations: 94.52 kB / 3.56 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006304/6.396, allocations: 186.5 kB / 3.56 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/6.397, allocations: 1.065 MB / 3.561 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/6.397, allocations: 45 kB / 3.561 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.991e-05/6.398, allocations: 56 kB / 3.561 GB, free: 11.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/6.398, allocations: 0.6312 MB / 3.562 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/6.398, allocations: 11.92 kB / 3.562 GB, free: 11.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/6.398, allocations: 20 kB / 3.562 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/6.398, allocations: 12 kB / 3.562 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/6.399, allocations: 458.8 kB / 3.562 GB, free: 10.83 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002255/6.401, allocations: 3.244 MB / 3.566 GB, free: 7.211 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/6.402, allocations: 359.1 kB / 3.566 GB, free: 6.852 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/6.402, allocations: 213.9 kB / 3.566 GB, free: 6.641 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/6.402, allocations: 198.4 kB / 3.566 GB, free: 6.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/6.402, allocations: 38.8 kB / 3.566 GB, free: 6.363 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/6.402, allocations: 336 / 3.566 GB, free: 6.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.0009539/6.403, allocations: 0.6396 MB / 3.567 GB, free: 5.715 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/6.403, allocations: 59.34 kB / 3.567 GB, free: 5.645 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008163/6.404, allocations: 0.9392 MB / 3.568 GB, free: 4.684 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/6.404, allocations: 33.7 kB / 3.568 GB, free: 4.645 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/6.404, allocations: 444.8 kB / 3.568 GB, free: 4.203 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/6.404, allocations: 94.56 kB / 3.568 GB, free: 4.109 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/6.404, allocations: 4 kB / 3.568 GB, free: 4.105 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.864e-05/6.404, allocations: 322 kB / 3.569 GB, free: 3.785 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/6.404, allocations: 111.9 kB / 3.569 GB, free: 3.676 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/6.405, allocations: 325.5 kB / 3.569 GB, free: 3.285 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/6.405, allocations: 172.4 kB / 3.569 GB, free: 3.121 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/6.405, allocations: 0 / 3.569 GB, free: 3.121 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007368/6.405, allocations: 0.6331 MB / 3.57 GB, free: 2.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/6.406, allocations: 362.3 kB / 3.57 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/6.406, allocations: 0 / 3.57 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00043/6.406, allocations: 230.1 kB / 3.571 GB, free: 1.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/6.406, allocations: 19.98 kB / 3.571 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006645/6.407, allocations: 0.9893 MB / 3.571 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/6.407, allocations: 83.7 kB / 3.572 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/6.407, allocations: 16 kB / 3.572 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/6.407, allocations: 4 kB / 3.572 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007369/6.408, allocations: 477.4 kB / 3.572 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/6.408, allocations: 0 / 3.572 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/6.409, allocations: 213.5 kB / 3.572 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/6.409, allocations: 23.92 kB / 3.572 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3072/6.716, allocations: 3.025 MB / 3.575 GB, free: 191.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008112/6.717, allocations: 92.11 kB / 3.575 GB, free: 191.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/6.717, allocations: 14.36 kB / 3.575 GB, free: 191.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001079/6.717, allocations: 119.5 kB / 3.575 GB, free: 191.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/6.717, allocations: 96.67 kB / 3.576 GB, free: 191.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/6.718, allocations: 0.6747 MB / 3.576 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/6.718, allocations: 4.469 kB / 3.576 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/6.718, allocations: 0.8125 kB / 3.576 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/6.718, allocations: 4.922 kB / 3.576 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/6.72, allocations: 1.478 MB / 3.578 GB, free: 190.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/6.72, allocations: 2.562 kB / 3.578 GB, free: 190.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/6.721, allocations: 23.81 kB / 3.578 GB, free: 190.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/6.721, allocations: 219 kB / 3.578 GB, free: 190.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/6.721, allocations: 14.11 kB / 3.578 GB, free: 190.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007591/6.722, allocations: 0.9669 MB / 3.579 GB, free: 190.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/6.722, allocations: 10.16 kB / 3.579 GB, free: 190.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009645/6.723, allocations: 0.8559 MB / 3.58 GB, free: 189.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/6.723, allocations: 216 kB / 3.58 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/6.723, allocations: 8.688 kB / 3.58 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/6.724, allocations: 61.12 kB / 3.58 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/6.724, allocations: 21.09 kB / 3.58 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/6.724, allocations: 11.8 kB / 3.58 GB, free: 189.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009243/6.725, allocations: 0.7543 MB / 3.581 GB, free: 189.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.725, allocations: 0 / 3.581 GB, free: 189.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001117/6.726, allocations: 478.5 kB / 3.581 GB, free: 189.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001761/6.728, allocations: 2.593 MB / 3.584 GB, free: 188.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009118/6.729, allocations: 0.714 MB / 3.584 GB, free: 188.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/6.729, allocations: 0 / 3.584 GB, free: 188.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/6.729, allocations: 199 kB / 3.585 GB, free: 188.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/6.731, allocations: 488.5 kB / 3.585 GB, free: 188.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/6.732, allocations: 1.612 MB / 3.587 GB, free: 187.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/6.733, allocations: 1.2 MB / 3.588 GB, free: 187 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001232/6.734, allocations: 0.611 MB / 3.588 GB, free: 186.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/6.734, allocations: 291.1 kB / 3.589 GB, free: 186.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/6.734, allocations: 0 / 3.589 GB, free: 186.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.051/6.785, allocations: 45.12 MB / 3.633 GB, free: 185.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/6.785, allocations: 242.8 kB / 3.633 GB, free: 185.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/9.851, allocations: 0 / 3.633 GB, free: 185.5 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)