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.7879/0.7879, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001008/0.001008, allocations: 180.8 kB / 182.2 MB, free: 9.453 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.375/1.375, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008667/0.0008667, allocations: 101.6 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.001974/0.001974, allocations: 274.1 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.837e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4422, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.471/4.914, allocations: 1.872 GB / 2.63 GB, free: 186.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/4.914, allocations: 99.12 kB / 2.63 GB, free: 186.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.262/6.176, allocations: 457.3 MB / 3.077 GB, free: 3.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/6.176, allocations: 0 / 3.077 GB, free: 3.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.337e-05/6.176, allocations: 16 kB / 3.077 GB, free: 3.004 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.002414/6.179, allocations: 1.016 MB / 3.078 GB, free: 1.941 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/6.179, allocations: 12.03 kB / 3.078 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/6.18, allocations: 162.9 kB / 3.078 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/6.181, allocations: 0.7028 MB / 3.078 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/6.181, allocations: 12 kB / 3.078 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/6.181, allocations: 28 kB / 3.078 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004395/6.182, allocations: 265.5 kB / 3.079 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/6.182, allocations: 362.2 kB / 3.079 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/6.182, allocations: 3.938 kB / 3.079 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/6.183, allocations: 0 / 3.079 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/6.183, allocations: 20.78 kB / 3.079 GB, free: 340 kB / 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.4639/6.646, allocations: 1.84 MB / 3.081 GB, free: 165.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/6.647, allocations: 314.3 kB / 3.081 GB, free: 165.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/6.647, allocations: 135.6 kB / 3.081 GB, free: 165.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/6.648, allocations: 191.2 kB / 3.082 GB, free: 164.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/6.648, allocations: 44.5 kB / 3.082 GB, free: 164.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 4.609e-06/6.648, allocations: 0 / 3.082 GB, free: 164.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001336/6.649, allocations: 395.2 kB / 3.082 GB, free: 164.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/6.649, allocations: 58.41 kB / 3.082 GB, free: 164.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009567/6.65, allocations: 0.6384 MB / 3.083 GB, free: 164.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/6.65, allocations: 26.92 kB / 3.083 GB, free: 164.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/6.65, allocations: 334.2 kB / 3.083 GB, free: 164.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/6.65, allocations: 101.6 kB / 3.083 GB, free: 164.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/6.65, allocations: 0 / 3.083 GB, free: 164.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/6.651, allocations: 315.3 kB / 3.083 GB, free: 164.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/6.651, allocations: 110.1 kB / 3.083 GB, free: 164.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/6.651, allocations: 266.7 kB / 3.084 GB, free: 164 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/6.651, allocations: 144.2 kB / 3.084 GB, free: 164 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/6.651, allocations: 1.406 kB / 3.084 GB, free: 164 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000842/6.652, allocations: 399.8 kB / 3.084 GB, free: 163.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/6.652, allocations: 273.2 kB / 3.084 GB, free: 163.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/6.652, allocations: 1.906 kB / 3.085 GB, free: 163.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/6.652, allocations: 39.98 kB / 3.085 GB, free: 163.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/6.653, allocations: 103.3 kB / 3.085 GB, free: 163.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000545/6.654, allocations: 1.168 MB / 3.086 GB, free: 162.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009313/6.655, allocations: 80.41 kB / 3.086 GB, free: 162.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/6.655, allocations: 19.72 kB / 3.086 GB, free: 162.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/6.655, allocations: 3.469 kB / 3.086 GB, free: 162.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006386/6.655, allocations: 277.3 kB / 3.086 GB, free: 162.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/6.655, allocations: 1.406 kB / 3.086 GB, free: 162.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/6.655, allocations: 36.84 kB / 3.086 GB, free: 162.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/6.656, allocations: 105.8 kB / 3.086 GB, free: 162.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/6.657, allocations: 1.407 MB / 3.088 GB, free: 161.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009567/6.658, allocations: 83.44 kB / 3.088 GB, free: 161.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/6.658, allocations: 15.78 kB / 3.088 GB, free: 161.2 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 0.0001516/6.658, allocations: 115.3 kB / 3.088 GB, free: 161.1 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007243/6.659, allocations: 358.1 kB / 3.088 GB, free: 161 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/6.659, allocations: 67.09 kB / 3.088 GB, free: 161 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/6.66, allocations: 407 kB / 3.089 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/6.66, allocations: 7.953 kB / 3.089 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/6.66, allocations: 0 / 3.089 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/6.66, allocations: 2.016 kB / 3.089 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/6.662, allocations: 1.125 MB / 3.09 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/6.662, allocations: 1.156 kB / 3.09 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/6.662, allocations: 76.8 kB / 3.09 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-05/6.663, allocations: 26.5 kB / 3.09 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/6.663, allocations: 13.06 kB / 3.09 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004127/6.663, allocations: 1.149 MB / 3.091 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/6.663, allocations: 0 / 3.091 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/6.664, allocations: 0.7074 MB / 3.092 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/6.664, allocations: 209.7 kB / 3.092 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/6.664, allocations: 16.19 kB / 3.092 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/6.665, allocations: 50.61 kB / 3.092 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/6.665, allocations: 31.41 kB / 3.092 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/6.665, allocations: 9.812 kB / 3.092 GB, free: 159 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006151/6.666, allocations: 0.5114 MB / 3.092 GB, free: 158.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.666, allocations: 0 / 3.092 GB, free: 158.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001426/6.667, allocations: 393.4 kB / 3.093 GB, free: 158.9 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.00297/6.67, allocations: 2.935 MB / 3.096 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001459/6.672, allocations: 0.5596 MB / 3.096 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/6.672, allocations: 1.406 kB / 3.096 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/6.672, allocations: 154.1 kB / 3.096 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/6.674, allocations: 228.3 kB / 3.097 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/6.676, allocations: 1.044 MB / 3.098 GB, free: 156.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/6.676, allocations: 0.9567 MB / 3.099 GB, free: 156.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001127/6.678, allocations: 243.2 kB / 3.099 GB, free: 156.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/6.678, allocations: 232.7 kB / 3.099 GB, free: 156.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/6.678, allocations: 0 / 3.099 GB, free: 156.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05926/6.737, allocations: 26.35 MB / 3.125 GB, free: 155.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/6.737, allocations: 188.4 kB / 3.125 GB, free: 155.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3/9.737, allocations: 3 kB / 3.125 GB, free: 155.8 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)