Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop",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.8376/0.8376, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001181/0.001181, allocations: 183.8 kB / 182.2 MB, free: 9.473 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.528/1.528, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0009468/0.0009467, allocations: 92.05 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001888/0.001888, allocations: 280.1 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.867e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4873, allocations: 82.78 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.725/5.212, allocations: 1.828 GB / 2.585 GB, free: 190.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/5.213, allocations: 84.08 kB / 2.585 GB, free: 190.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8982/6.111, allocations: 219.4 MB / 2.799 GB, free: 208.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/6.111, allocations: 4 kB / 2.799 GB, free: 208.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.626e-05/6.111, allocations: 11.2 kB / 2.799 GB, free: 208.7 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008946/6.112, allocations: 0.5604 MB / 2.8 GB, free: 208.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/6.112, allocations: 10.78 kB / 2.8 GB, free: 208.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/6.112, allocations: 57.48 kB / 2.8 GB, free: 208.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/6.113, allocations: 304.1 kB / 2.8 GB, free: 208.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/6.113, allocations: 3.875 kB / 2.8 GB, free: 208.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/6.113, allocations: 10.56 kB / 2.8 GB, free: 208.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001709/6.113, allocations: 86.12 kB / 2.8 GB, free: 208.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/6.113, allocations: 148.8 kB / 2.801 GB, free: 208 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/6.113, allocations: 4.766 kB / 2.801 GB, free: 208 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/6.113, allocations: 3.562 kB / 2.801 GB, free: 208 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/6.113, allocations: 11.69 kB / 2.801 GB, free: 208 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.000879/6.114, allocations: 0.7502 MB / 2.801 GB, free: 207.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/6.114, allocations: 60.58 kB / 2.801 GB, free: 207.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/6.114, allocations: 56.55 kB / 2.801 GB, free: 207.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/6.115, allocations: 192.3 kB / 2.802 GB, free: 207.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/6.115, allocations: 30.56 kB / 2.802 GB, free: 207.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/6.115, allocations: 0 / 2.802 GB, free: 207.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003982/6.115, allocations: 137.2 kB / 2.802 GB, free: 207.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/6.115, allocations: 51.41 kB / 2.802 GB, free: 207.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/6.115, allocations: 188.6 kB / 2.802 GB, free: 207 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/6.115, allocations: 29.55 kB / 2.802 GB, free: 207 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/6.115, allocations: 153 kB / 2.802 GB, free: 206.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/6.115, allocations: 26.23 kB / 2.802 GB, free: 206.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/6.115, allocations: 3.938 kB / 2.802 GB, free: 206.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/6.115, allocations: 332.8 kB / 2.802 GB, free: 206.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/6.116, allocations: 25.48 kB / 2.802 GB, free: 206.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/6.116, allocations: 82.38 kB / 2.803 GB, free: 206.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/6.116, allocations: 36.2 kB / 2.803 GB, free: 206.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/6.116, allocations: 3.953 kB / 2.803 GB, free: 206.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001621/6.116, allocations: 128.5 kB / 2.803 GB, free: 206.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.621e-05/6.116, allocations: 358.3 kB / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/6.116, allocations: 2.906 kB / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/6.116, allocations: 3.844 kB / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/6.116, allocations: 28.41 kB / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/6.116, allocations: 0 / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/6.116, allocations: 24.41 kB / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/6.116, allocations: 3.906 kB / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-06/6.116, allocations: 3.688 kB / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001126/6.116, allocations: 76.91 kB / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/6.116, allocations: 0 / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-06/6.116, allocations: 4.188 kB / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/6.117, allocations: 27.91 kB / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/6.117, allocations: 0 / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/6.117, allocations: 25.14 kB / 2.803 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/6.117, allocations: 3.25 kB / 2.803 GB, free: 206.1 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/6.117, allocations: 115 kB / 2.803 GB, free: 206 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001385/6.117, allocations: 111.4 kB / 2.803 GB, free: 206 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/6.117, allocations: 25.97 kB / 2.804 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/6.117, allocations: 119.6 kB / 2.804 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/6.117, allocations: 0 / 2.804 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/6.117, allocations: 3.797 kB / 2.804 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/6.117, allocations: 3.953 kB / 2.804 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/6.118, allocations: 0.5048 MB / 2.804 GB, free: 205.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/6.118, allocations: 6.531 kB / 2.804 GB, free: 205.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/6.118, allocations: 26.67 kB / 2.804 GB, free: 205.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/6.118, allocations: 11.77 kB / 2.804 GB, free: 205.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/6.118, allocations: 3.906 kB / 2.804 GB, free: 205.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/6.118, allocations: 0 / 2.804 GB, free: 205.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/6.118, allocations: 10.88 kB / 2.804 GB, free: 205.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/6.118, allocations: 342.4 kB / 2.805 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/6.118, allocations: 107.8 kB / 2.805 GB, free: 205.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/6.118, allocations: 3.906 kB / 2.805 GB, free: 205.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/6.119, allocations: 20.47 kB / 2.805 GB, free: 205.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/6.119, allocations: 11.12 kB / 2.805 GB, free: 205.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/6.119, allocations: 5.688 kB / 2.805 GB, free: 205.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000108/6.119, allocations: 161.5 kB / 2.805 GB, free: 205.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.119, allocations: 0 / 2.805 GB, free: 205.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006591/6.119, allocations: 153.2 kB / 2.805 GB, free: 205.1 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/6.121, allocations: 2.275 MB / 2.807 GB, free: 203.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002313/6.121, allocations: 116.3 kB / 2.807 GB, free: 203.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/6.121, allocations: 0 / 2.807 GB, free: 203.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.492e-05/6.122, allocations: 50.81 kB / 2.807 GB, free: 203.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/6.122, allocations: 101.5 kB / 2.807 GB, free: 203.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/6.123, allocations: 379.8 kB / 2.808 GB, free: 203.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/6.123, allocations: 0.7615 MB / 2.809 GB, free: 202.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002491/6.123, allocations: 67.62 kB / 2.809 GB, free: 202.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/6.123, allocations: 65.33 kB / 2.809 GB, free: 202.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/6.123, allocations: 0 / 2.809 GB, free: 202.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/6.157, allocations: 12.34 MB / 2.821 GB, free: 202.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/6.157, allocations: 190.5 kB / 2.821 GB, free: 202.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/8.274, allocations: 3.875 kB / 2.821 GB, free: 202.2 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)