Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.356/2.356, allocations: 390.5 MB / 398 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009741/0.0009739, allocations: 188.9 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000943/0.000943, allocations: 86.47 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.219e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2987, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.279/5.577, allocations: 1.913 GB / 3.125 GB, free: 420.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/5.578, allocations: 87.94 kB / 3.125 GB, free: 420.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.678/7.256, allocations: 457.2 MB / 3.572 GB, free: 310.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.655e-06/7.256, allocations: 0 / 3.572 GB, free: 310.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001392/7.256, allocations: 21.2 kB / 3.572 GB, free: 310.8 MB / 1.151 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.003106/7.259, allocations: 1.015 MB / 3.573 GB, free: 310.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/7.259, allocations: 11 kB / 3.573 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/7.261, allocations: 166.3 kB / 3.573 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/7.263, allocations: 0.6894 MB / 3.574 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/7.263, allocations: 10.25 kB / 3.574 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/7.263, allocations: 34.55 kB / 3.574 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005872/7.264, allocations: 275.3 kB / 3.574 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/7.264, allocations: 365.6 kB / 3.574 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/7.264, allocations: 0 / 3.574 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/7.264, allocations: 0 / 3.574 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/7.264, allocations: 20.22 kB / 3.574 GB, free: 309.9 MB / 1.151 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.003397/7.268, allocations: 1.846 MB / 3.576 GB, free: 309 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/7.268, allocations: 317.4 kB / 3.577 GB, free: 309 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/7.269, allocations: 133.9 kB / 3.577 GB, free: 308.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003284/7.269, allocations: 193 kB / 3.577 GB, free: 308.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/7.269, allocations: 37.98 kB / 3.577 GB, free: 308.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 2.345e-06/7.269, allocations: 0 / 3.577 GB, free: 308.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001426/7.27, allocations: 397.3 kB / 3.577 GB, free: 308.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/7.27, allocations: 57.53 kB / 3.577 GB, free: 308.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/7.271, allocations: 0.6362 MB / 3.578 GB, free: 308.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/7.272, allocations: 29.58 kB / 3.578 GB, free: 308.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/7.272, allocations: 347.1 kB / 3.578 GB, free: 308.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/7.272, allocations: 92.53 kB / 3.578 GB, free: 308.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/7.272, allocations: 0 / 3.578 GB, free: 308.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/7.272, allocations: 319.6 kB / 3.579 GB, free: 308 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/7.272, allocations: 102.2 kB / 3.579 GB, free: 308 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/7.273, allocations: 275 kB / 3.579 GB, free: 307.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/7.273, allocations: 138.8 kB / 3.579 GB, free: 307.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/7.273, allocations: 2.219 kB / 3.579 GB, free: 307.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008829/7.274, allocations: 394.7 kB / 3.58 GB, free: 307.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/7.274, allocations: 277 kB / 3.58 GB, free: 307.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/7.274, allocations: 0 / 3.58 GB, free: 307.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/7.274, allocations: 31.83 kB / 3.58 GB, free: 307.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/7.275, allocations: 105.7 kB / 3.58 GB, free: 307.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006562/7.275, allocations: 1.171 MB / 3.581 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/7.276, allocations: 82.14 kB / 3.581 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/7.277, allocations: 21.11 kB / 3.581 GB, free: 306.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/7.277, allocations: 8.062 kB / 3.581 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005894/7.277, allocations: 271.4 kB / 3.582 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/7.277, allocations: 1.094 kB / 3.582 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/7.277, allocations: 37 kB / 3.582 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/7.278, allocations: 104.1 kB / 3.582 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/7.279, allocations: 1.413 MB / 3.583 GB, free: 305 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/7.28, allocations: 87.69 kB / 3.583 GB, free: 305 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/7.28, allocations: 9.812 kB / 3.583 GB, free: 305 MB / 1.151 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.0001628/7.28, allocations: 118.8 kB / 3.583 GB, free: 304.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007223/7.281, allocations: 350.1 kB / 3.584 GB, free: 304.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/7.281, allocations: 65.41 kB / 3.584 GB, free: 304.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007704/7.282, allocations: 403.7 kB / 3.584 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/7.282, allocations: 7.766 kB / 3.584 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/7.282, allocations: 0 / 3.584 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/7.282, allocations: 3.391 kB / 3.584 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/7.284, allocations: 1.12 MB / 3.585 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/7.284, allocations: 5.906 kB / 3.585 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/7.285, allocations: 69.25 kB / 3.585 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.27e-05/7.285, allocations: 29.23 kB / 3.585 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/7.285, allocations: 15.27 kB / 3.585 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004735/7.285, allocations: 1.144 MB / 3.586 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/7.285, allocations: 6.75 kB / 3.586 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009067/7.286, allocations: 0.7148 MB / 3.587 GB, free: 302.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/7.286, allocations: 209.2 kB / 3.587 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/7.287, allocations: 8.969 kB / 3.587 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007637/7.287, allocations: 54.91 kB / 3.587 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/7.288, allocations: 37.34 kB / 3.587 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/7.288, allocations: 10 kB / 3.587 GB, free: 302.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007883/7.288, allocations: 0.507 MB / 3.588 GB, free: 302.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.288, allocations: 0 / 3.588 GB, free: 302.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001574/7.29, allocations: 398.1 kB / 3.588 GB, free: 302.7 MB / 1.151 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.003822/7.294, allocations: 2.932 MB / 3.591 GB, free: 301.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001441/7.295, allocations: 0.5512 MB / 3.592 GB, free: 301.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/7.295, allocations: 4.969 kB / 3.592 GB, free: 301.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003147/7.296, allocations: 151.9 kB / 3.592 GB, free: 301.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/7.297, allocations: 239.5 kB / 3.592 GB, free: 301.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/7.3, allocations: 1.035 MB / 3.593 GB, free: 300.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/7.3, allocations: 0.9555 MB / 3.594 GB, free: 300 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001314/7.302, allocations: 249 kB / 3.594 GB, free: 300 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/7.302, allocations: 228.2 kB / 3.594 GB, free: 300 MB / 1.151 GB Notification: Performance of SimCode: time 1.022e-06/7.302, allocations: 0 / 3.594 GB, free: 300 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06218/7.364, allocations: 26.33 MB / 3.62 GB, free: 299.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/7.365, allocations: 184 kB / 3.62 GB, free: 299.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/10.51, allocations: 3.438 kB / 3.62 GB, free: 299.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat does not exist to compare? outputFormat=mat