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.8268/0.8268, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001249/0.001249, allocations: 183.8 kB / 182.2 MB, free: 9.465 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.562/1.562, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009358/0.0009357, allocations: 92.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001757, allocations: 269 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.993e-05/1.995e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.47, allocations: 82.76 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.199/5.669, allocations: 1.832 GB / 2.59 GB, free: 186 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/5.669, allocations: 90.62 kB / 2.59 GB, free: 185.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.702/13.37, allocations: 2.068 GB / 4.657 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.004e-06/13.37, allocations: 0 / 4.657 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001256/13.37, allocations: 43.97 kB / 4.657 GB, free: 6.551 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.00387/13.38, allocations: 1.644 MB / 4.659 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 9.217e-05/13.38, allocations: 8.031 kB / 4.659 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007448/13.38, allocations: 196.4 kB / 4.659 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/13.38, allocations: 0.9506 MB / 4.66 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/13.38, allocations: 93.36 kB / 4.66 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/13.38, allocations: 52 kB / 4.66 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006165/13.38, allocations: 379.9 kB / 4.661 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/13.38, allocations: 0.7577 MB / 4.661 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/13.38, allocations: 7.938 kB / 4.661 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/13.38, allocations: 4 kB / 4.661 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/13.38, allocations: 20 kB / 4.661 GB, free: 2.25 MB / 0.7292 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.003974/13.38, allocations: 4.572 MB / 4.666 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/13.38, allocations: 380.8 kB / 4.666 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/13.38, allocations: 227.9 kB / 4.666 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/13.38, allocations: 101.3 kB / 4.667 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/13.38, allocations: 66.36 kB / 4.667 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/13.38, allocations: 0 / 4.667 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31): time 0.001077/13.39, allocations: 382.2 kB / 4.667 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/13.39, allocations: 393.5 kB / 4.667 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/13.39, allocations: 0.6604 MB / 4.668 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/13.39, allocations: 29.8 kB / 4.668 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004561/13.39, allocations: 0.58 MB / 4.669 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/13.39, allocations: 102.4 kB / 4.669 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/13.39, allocations: 0 / 4.669 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001176/13.39, allocations: 321.9 kB / 4.669 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/13.39, allocations: 71.97 kB / 4.669 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/13.39, allocations: 332.8 kB / 4.669 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/13.39, allocations: 113.8 kB / 4.67 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/13.39, allocations: 8 kB / 4.67 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006051/13.39, allocations: 385.8 kB / 4.67 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/13.39, allocations: 12.28 kB / 4.67 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/13.39, allocations: 8 kB / 4.67 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/13.39, allocations: 61.67 kB / 4.67 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/13.39, allocations: 63.91 kB / 4.67 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/13.39, allocations: 2.777 MB / 4.673 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000716/13.39, allocations: 67.69 kB / 4.673 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/13.39, allocations: 27.98 kB / 4.673 GB, free: 5.562 MB / 0.7448 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 () * 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.0001556/13.39, allocations: 113.2 kB / 4.673 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007525/13.39, allocations: 373.7 kB / 4.673 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/13.39, allocations: 110.7 kB / 4.673 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/13.39, allocations: 93.14 kB / 4.673 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/13.39, allocations: 12 kB / 4.674 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/13.39, allocations: 4 kB / 4.674 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/13.39, allocations: 4 kB / 4.674 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/13.4, allocations: 2.334 MB / 4.676 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/13.4, allocations: 7.938 kB / 4.676 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/13.4, allocations: 55.98 kB / 4.676 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/13.4, allocations: 65.8 kB / 4.676 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/13.4, allocations: 12.19 kB / 4.676 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5527/13.95, allocations: 2.786 MB / 4.679 GB, free: 81.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-05/13.95, allocations: 12.03 kB / 4.679 GB, free: 81.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/13.95, allocations: 0.8689 MB / 4.68 GB, free: 81.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/13.95, allocations: 205 kB / 4.68 GB, free: 81.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/13.95, allocations: 8.016 kB / 4.68 GB, free: 81.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006803/13.95, allocations: 58.58 kB / 4.68 GB, free: 81.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/13.95, allocations: 45.47 kB / 4.68 GB, free: 81.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/13.95, allocations: 16.06 kB / 4.68 GB, free: 81.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000977/13.95, allocations: 0.5094 MB / 4.68 GB, free: 81.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.6e-07/13.95, allocations: 0 / 4.68 GB, free: 81.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002692/13.96, allocations: 0.539 MB / 4.681 GB, free: 81.05 MB / 0.7448 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 () * 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.008807/13.97, allocations: 6.677 MB / 4.687 GB, free: 76.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009796/13.97, allocations: 456.7 kB / 4.688 GB, free: 76.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/13.97, allocations: 2.062 kB / 4.688 GB, free: 76.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004772/13.97, allocations: 362 kB / 4.688 GB, free: 76.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/13.97, allocations: 421.2 kB / 4.689 GB, free: 76.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/13.97, allocations: 1.5 MB / 4.69 GB, free: 75.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009142/13.97, allocations: 1.161 MB / 4.691 GB, free: 75.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009428/13.98, allocations: 181.1 kB / 4.691 GB, free: 75.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/13.98, allocations: 421.1 kB / 4.692 GB, free: 75.12 MB / 0.7448 GB Notification: Performance of SimCode: time 1.994e-06/13.98, allocations: 0 / 4.692 GB, free: 75.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09625/14.07, allocations: 46.71 MB / 4.737 GB, free: 74.13 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/14.07, allocations: 215.8 kB / 4.738 GB, free: 73.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.721/17.79, allocations: 0 / 4.738 GB, free: 73.84 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)