Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json 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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.268/2.268, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.123/1.123, allocations: 132.2 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 13.38 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8727/0.8731, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.2924/1.166, allocations: 145.9 MB / 0.7254 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008105/1.174, allocations: 3.213 MB / 0.7286 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/1.175, allocations: 15.88 kB / 0.7286 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/1.176, allocations: 314.5 kB / 0.7289 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004208/1.181, allocations: 1.102 MB / 0.73 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002767/1.183, allocations: 0.674 MB / 0.7306 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002947/1.186, allocations: 0.9445 MB / 0.7315 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/1.188, allocations: 0.4959 MB / 0.732 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/1.19, allocations: 0.6464 MB / 0.7327 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009609/1.191, allocations: 426.3 kB / 0.7331 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/1.191, allocations: 36 kB / 0.7331 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/1.193, allocations: 0.6942 MB / 0.7338 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003638/1.194, allocations: 223.2 kB / 0.734 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004072/1.194, allocations: 161.3 kB / 0.7341 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/1.196, allocations: 0.8613 MB / 0.735 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/1.196, allocations: 3.938 kB / 0.735 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.986e-06/1.196, allocations: 0 / 0.735 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.763e-05/1.196, allocations: 0 / 0.735 GB, free: 4.574 MB / 0.5606 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.003591/1.2, allocations: 1.117 MB / 0.7361 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.898e-05/1.2, allocations: 12.03 kB / 0.7361 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/1.2, allocations: 82.45 kB / 0.7362 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007587/1.201, allocations: 126.9 kB / 0.7363 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/1.202, allocations: 0.6904 MB / 0.737 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/1.202, allocations: 33 kB / 0.737 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/1.202, allocations: 44 kB / 0.737 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009735/1.203, allocations: 458.2 kB / 0.7375 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/1.203, allocations: 0 / 0.7375 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/1.203, allocations: 23.89 kB / 0.7375 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/1.204, allocations: 16.66 kB / 0.7375 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/1.204, allocations: 366.4 kB / 0.7379 GB, free: 1.516 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004614/1.209, allocations: 1.92 MB / 0.7397 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/1.21, allocations: 306.4 kB / 0.74 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.589e-05/1.21, allocations: 11.98 kB / 0.74 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/1.21, allocations: 34.56 kB / 0.7401 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 4.087e-06/1.21, allocations: 0 / 0.7401 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.003446/1.214, allocations: 0.6876 MB / 0.7407 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/1.214, allocations: 55.41 kB / 0.7408 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/1.217, allocations: 0.868 MB / 0.7416 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/1.217, allocations: 37.7 kB / 0.7417 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/1.217, allocations: 332.8 kB / 0.742 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/1.218, allocations: 94.55 kB / 0.7421 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/1.218, allocations: 8 kB / 0.7421 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002387/1.218, allocations: 318 kB / 0.7424 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/1.218, allocations: 127.9 kB / 0.7425 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008589/1.219, allocations: 287.4 kB / 0.7428 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/1.22, allocations: 159.7 kB / 0.7429 GB, free: 12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.22, allocations: 4 kB / 0.743 GB, free: 12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002202/1.222, allocations: 468.4 kB / 0.7434 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002802/1.223, allocations: 275 kB / 0.7437 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.223, allocations: 0 / 0.7437 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/1.223, allocations: 64.8 kB / 0.7437 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.224, allocations: 103.8 kB / 0.7438 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/1.226, allocations: 1.162 MB / 0.745 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/1.227, allocations: 107.3 kB / 0.7451 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/1.228, allocations: 11.98 kB / 0.7451 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.228, allocations: 4 kB / 0.7451 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001415/1.229, allocations: 336.6 kB / 0.7454 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.229, allocations: 48 / 0.7454 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/1.229, allocations: 52.81 kB / 0.7454 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/1.23, allocations: 87.88 kB / 0.7455 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/1.233, allocations: 1.483 MB / 0.747 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/1.234, allocations: 97.77 kB / 0.7471 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/1.235, allocations: 12 kB / 0.7471 GB, free: 7.559 MB / 0.5762 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0007981/1.235, allocations: 285 kB / 0.7474 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/1.236, allocations: 75.11 kB / 0.7474 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/1.238, allocations: 457.4 kB / 0.7479 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.238, allocations: 0 / 0.7479 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.238, allocations: 4 kB / 0.7479 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/1.238, allocations: 3.984 kB / 0.7479 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/1.241, allocations: 1.206 MB / 0.749 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.241, allocations: 7.953 kB / 0.7491 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/1.242, allocations: 63.95 kB / 0.7491 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002297/1.242, allocations: 40.78 kB / 0.7492 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.884e-05/1.242, allocations: 16.17 kB / 0.7492 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/1.244, allocations: 1.146 MB / 0.7503 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.244, allocations: 7.922 kB / 0.7503 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/1.247, allocations: 0.7922 MB / 0.7511 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008086/1.247, allocations: 212 kB / 0.7513 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/1.248, allocations: 11.98 kB / 0.7513 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.249, allocations: 55.94 kB / 0.7513 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.249, allocations: 27.97 kB / 0.7514 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.732e-05/1.249, allocations: 16 kB / 0.7514 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00201/1.251, allocations: 0.6357 MB / 0.752 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.5e-06/1.251, allocations: 0 / 0.752 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001879/1.253, allocations: 307.4 kB / 0.7523 GB, free: 1.984 MB / 0.5762 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 () * Number of clocked 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): 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.004245/1.257, allocations: 1.843 MB / 0.7541 GB, free: 80 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003515/1.261, allocations: 0.6347 MB / 0.7547 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.261, allocations: 0 / 0.7547 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008911/1.262, allocations: 184.1 kB / 0.7549 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/1.266, allocations: 297.5 kB / 0.7552 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.281, allocations: 4.784 MB / 0.7598 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.283, allocations: 0.9567 MB / 0.7608 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001499/1.284, allocations: 176.9 kB / 0.7609 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006242/1.285, allocations: 263.3 kB / 0.7612 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of SimCode: time 1.593e-06/1.285, allocations: 0 / 0.7612 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08019/1.365, allocations: 19.34 MB / 0.7801 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004566/1.365, allocations: 253 kB / 0.7803 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.861/5.227, allocations: 0 / 0.7803 GB, free: 5.418 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) Environment - environmentSimulation: