Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",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.7324/0.7324, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.000957/0.000957, allocations: 184.6 kB / 187.3 MB, free: 11.88 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.329/1.329, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008753/0.0008754, allocations: 93.98 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 275.1 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.62e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4141, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.032/4.446, allocations: 1.873 GB / 2.637 GB, free: 175 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/4.446, allocations: 97.05 kB / 2.638 GB, free: 175 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.554/6, allocations: 462.7 MB / 3.089 GB, free: 162.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/6, allocations: 0 / 3.089 GB, free: 162.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.469e-05/6, allocations: 24.89 kB / 3.089 GB, free: 162.6 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001753/6.002, allocations: 1.01 MB / 3.09 GB, free: 162.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/6.002, allocations: 13.09 kB / 3.09 GB, free: 162.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.212e-05/6.002, allocations: 70.28 kB / 3.091 GB, free: 162.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008682/6.003, allocations: 171.8 kB / 3.091 GB, free: 162.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/6.004, allocations: 0.6924 MB / 3.091 GB, free: 161.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/6.004, allocations: 32.72 kB / 3.091 GB, free: 161.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/6.004, allocations: 55.16 kB / 3.091 GB, free: 161.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/6.005, allocations: 411.6 kB / 3.092 GB, free: 161.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/6.005, allocations: 0 / 3.092 GB, free: 161.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/6.005, allocations: 16.41 kB / 3.092 GB, free: 161.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/6.005, allocations: 15.09 kB / 3.092 GB, free: 161.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/6.005, allocations: 297.8 kB / 3.092 GB, free: 161.9 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.002011/6.007, allocations: 1.96 MB / 3.094 GB, free: 160.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/6.008, allocations: 314.4 kB / 3.094 GB, free: 160.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/6.008, allocations: 146.7 kB / 3.095 GB, free: 160.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/6.008, allocations: 191.1 kB / 3.095 GB, free: 160.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/6.008, allocations: 30.8 kB / 3.095 GB, free: 160.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/6.008, allocations: 0 / 3.095 GB, free: 160.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.0008248/6.009, allocations: 401.2 kB / 3.095 GB, free: 160.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/6.009, allocations: 55.34 kB / 3.095 GB, free: 160.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007748/6.01, allocations: 0.748 MB / 3.096 GB, free: 160.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/6.01, allocations: 39.52 kB / 3.096 GB, free: 160.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/6.01, allocations: 343.8 kB / 3.096 GB, free: 160.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/6.01, allocations: 102.7 kB / 3.096 GB, free: 160.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/6.01, allocations: 2.75 kB / 3.096 GB, free: 160.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.393e-05/6.01, allocations: 320.3 kB / 3.097 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/6.01, allocations: 108.4 kB / 3.097 GB, free: 159.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/6.01, allocations: 280.4 kB / 3.097 GB, free: 159.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/6.011, allocations: 137.1 kB / 3.097 GB, free: 159.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/6.011, allocations: 0 / 3.097 GB, free: 159.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005853/6.011, allocations: 406.3 kB / 3.098 GB, free: 159.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/6.011, allocations: 272.7 kB / 3.098 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/6.011, allocations: 3.875 kB / 3.098 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/6.011, allocations: 45.42 kB / 3.098 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/6.012, allocations: 103.9 kB / 3.098 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004646/6.013, allocations: 1.147 MB / 3.099 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/6.013, allocations: 104.2 kB / 3.099 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/6.013, allocations: 21.61 kB / 3.099 GB, free: 158.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/6.013, allocations: 3.969 kB / 3.099 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004738/6.014, allocations: 304.9 kB / 3.099 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/6.014, allocations: 0 / 3.099 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/6.014, allocations: 41.66 kB / 3.1 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/6.014, allocations: 93.75 kB / 3.1 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008761/6.015, allocations: 1.474 MB / 3.101 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/6.016, allocations: 100.2 kB / 3.101 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/6.016, allocations: 21.86 kB / 3.101 GB, free: 156.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 9.68e-05/6.016, allocations: 128.9 kB / 3.101 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.933e-05/6.016, allocations: 72.44 kB / 3.101 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/6.017, allocations: 438.4 kB / 3.102 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/6.017, allocations: 6.844 kB / 3.102 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/6.017, allocations: 0 / 3.102 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/6.017, allocations: 3.375 kB / 3.102 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/6.018, allocations: 1.198 MB / 3.103 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/6.018, allocations: 3.969 kB / 3.103 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/6.019, allocations: 68.23 kB / 3.103 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.694e-05/6.019, allocations: 38.58 kB / 3.103 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/6.019, allocations: 18.59 kB / 3.103 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003446/6.019, allocations: 1.139 MB / 3.104 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/6.019, allocations: 6.875 kB / 3.104 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/6.02, allocations: 0.7349 MB / 3.105 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/6.02, allocations: 224.4 kB / 3.105 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/6.02, allocations: 7.219 kB / 3.105 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/6.021, allocations: 70.28 kB / 3.105 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/6.021, allocations: 27.05 kB / 3.105 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/6.021, allocations: 20.42 kB / 3.105 GB, free: 154.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006108/6.022, allocations: 0.5979 MB / 3.106 GB, free: 154.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/6.022, allocations: 0 / 3.106 GB, free: 154.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001204/6.023, allocations: 431.5 kB / 3.106 GB, free: 154.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002266/6.025, allocations: 2.809 MB / 3.109 GB, free: 153.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009474/6.026, allocations: 0.5886 MB / 3.11 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/6.026, allocations: 2.516 kB / 3.11 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/6.027, allocations: 165.7 kB / 3.11 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/6.028, allocations: 288.1 kB / 3.11 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/6.029, allocations: 1.086 MB / 3.111 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/6.03, allocations: 0.957 MB / 3.112 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008664/6.031, allocations: 288.6 kB / 3.112 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/6.031, allocations: 233.9 kB / 3.113 GB, free: 151.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/6.031, allocations: 0 / 3.113 GB, free: 151.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0566/6.087, allocations: 42.18 MB / 3.154 GB, free: 150.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/6.088, allocations: 248.8 kB / 3.154 GB, free: 150.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.298/9.386, allocations: 0 / 3.154 GB, free: 150.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)