Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.8855/0.8855, allocations: 143.4 MB / 158.3 MB, free: 5.641 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.001179, allocations: 178.8 kB / 191.5 MB, free: 5.637 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.675/1.675, allocations: 223.2 MB / 447.7 MB, free: 4.82 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.0009724/0.0009724, allocations: 88.33 kB / 0.5188 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 269.5 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004306, allocations: 10.84 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.016/4.184, allocations: 1.833 GB / 2.607 GB, free: 244.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/4.184, allocations: 89.58 kB / 2.607 GB, free: 244.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.409/11.59, allocations: 2.092 GB / 4.699 GB, free: 59.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.873e-06/11.59, allocations: 0 / 4.699 GB, free: 59.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001037/11.59, allocations: 47.97 kB / 4.699 GB, free: 59.05 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004087/11.6, allocations: 1.868 MB / 4.7 GB, free: 57.13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/11.6, allocations: 8.031 kB / 4.7 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/11.6, allocations: 122.7 kB / 4.701 GB, free: 57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006758/11.6, allocations: 206 kB / 4.701 GB, free: 56.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/11.6, allocations: 0.9446 MB / 4.702 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/11.6, allocations: 129.4 kB / 4.702 GB, free: 55.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/11.6, allocations: 95.95 kB / 4.702 GB, free: 55.56 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/11.6, allocations: 0.9016 MB / 4.703 GB, free: 54.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/11.6, allocations: 7.984 kB / 4.703 GB, free: 54.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/11.6, allocations: 36 kB / 4.703 GB, free: 54.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/11.6, allocations: 24 kB / 4.703 GB, free: 54.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/11.6, allocations: 0.4916 MB / 4.703 GB, free: 54.02 MB / 0.7292 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.003686/11.61, allocations: 4.857 MB / 4.708 GB, free: 48.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/11.61, allocations: 412.6 kB / 4.708 GB, free: 48.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/11.61, allocations: 105.1 kB / 4.709 GB, free: 48.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/11.61, allocations: 46.5 kB / 4.709 GB, free: 48.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/11.61, allocations: 4 kB / 4.709 GB, free: 48.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31): time 0.001574/11.61, allocations: 0.79 MB / 4.709 GB, free: 47.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/11.61, allocations: 401.5 kB / 4.71 GB, free: 46.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/11.61, allocations: 1.1 MB / 4.711 GB, free: 45.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/11.61, allocations: 37.7 kB / 4.711 GB, free: 45.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/11.61, allocations: 0.5565 MB / 4.711 GB, free: 45.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/11.61, allocations: 102.5 kB / 4.712 GB, free: 45.01 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/11.61, allocations: 4 kB / 4.712 GB, free: 45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.194e-05/11.61, allocations: 326 kB / 4.712 GB, free: 44.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/11.61, allocations: 91.92 kB / 4.712 GB, free: 44.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/11.61, allocations: 372.5 kB / 4.712 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/11.61, allocations: 152.3 kB / 4.712 GB, free: 43.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/11.61, allocations: 0 / 4.712 GB, free: 43.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006851/11.61, allocations: 0.4895 MB / 4.713 GB, free: 43.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/11.61, allocations: 9.094 kB / 4.713 GB, free: 43.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/11.61, allocations: 7.938 kB / 4.713 GB, free: 43.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/11.61, allocations: 69.89 kB / 4.713 GB, free: 43.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/11.61, allocations: 59.91 kB / 4.713 GB, free: 43.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/11.61, allocations: 2.903 MB / 4.716 GB, free: 40.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009157/11.61, allocations: 131 kB / 4.716 GB, free: 40.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/11.62, allocations: 28.3 kB / 4.716 GB, free: 39.98 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004364/11.62, allocations: 274 kB / 4.716 GB, free: 39.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/11.62, allocations: 138.3 kB / 4.716 GB, free: 39.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/11.62, allocations: 132 kB / 4.717 GB, free: 39.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/11.62, allocations: 8 kB / 4.717 GB, free: 39.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/11.62, allocations: 8 kB / 4.717 GB, free: 39.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/11.62, allocations: 4 kB / 4.717 GB, free: 39.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/11.62, allocations: 2.5 MB / 4.719 GB, free: 36.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/11.62, allocations: 15.92 kB / 4.719 GB, free: 36.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/11.62, allocations: 43.92 kB / 4.719 GB, free: 36.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/11.62, allocations: 81.45 kB / 4.719 GB, free: 36.63 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/11.62, allocations: 12 kB / 4.719 GB, free: 36.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/11.62, allocations: 2.906 MB / 4.722 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/11.62, allocations: 15.94 kB / 4.722 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/11.62, allocations: 0.995 MB / 4.723 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/11.62, allocations: 251.3 kB / 4.723 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/11.62, allocations: 23.88 kB / 4.723 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/11.62, allocations: 75.77 kB / 4.723 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/11.62, allocations: 39.86 kB / 4.723 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/11.62, allocations: 20 kB / 4.723 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009669/11.62, allocations: 0.8646 MB / 4.724 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/11.62, allocations: 0 / 4.724 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002787/11.63, allocations: 0.6247 MB / 4.725 GB, free: 30.28 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006863/11.63, allocations: 6.392 MB / 4.731 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001274/11.63, allocations: 0.5289 MB / 4.732 GB, free: 22.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/11.63, allocations: 0 / 4.732 GB, free: 22.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004709/11.64, allocations: 407 kB / 4.732 GB, free: 22.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003912/11.64, allocations: 0.7548 MB / 4.733 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/11.64, allocations: 4.885 MB / 4.738 GB, free: 16.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/11.64, allocations: 1.162 MB / 4.739 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008655/11.64, allocations: 248.6 kB / 4.739 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/11.64, allocations: 435.3 kB / 4.739 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of SimCode: time 1.252e-06/11.64, allocations: 0 / 4.739 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6518/12.3, allocations: 80.66 MB / 4.818 GB, free: 88.34 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/12.3, allocations: 279 kB / 4.818 GB, free: 87.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.191/17.49, allocations: 0 / 4.818 GB, free: 87.98 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)