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: translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 111.8 kB / 16.41 MB, free: 6.488 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.001237/0.001237, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7624/0.7624, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 65.66 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1656, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.5739/0.7396, allocations: 174.6 MB / 0.8309 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006011/0.7456, allocations: 3.297 MB / 0.8341 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008044/0.7465, allocations: 18 kB / 0.8341 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.7476, allocations: 343.2 kB / 0.8344 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002739/0.7503, allocations: 1.074 MB / 0.8355 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.753, allocations: 0.9868 MB / 0.8364 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002145/0.7552, allocations: 1.605 MB / 0.838 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008215/0.756, allocations: 0.6153 MB / 0.8386 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.7573, allocations: 0.7565 MB / 0.8394 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007225/0.7581, allocations: 0.5586 MB / 0.8399 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.7582, allocations: 70.59 kB / 0.84 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.76, allocations: 0.9502 MB / 0.8409 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.7603, allocations: 281 kB / 0.8412 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.7608, allocations: 430.1 kB / 0.8416 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.7623, allocations: 1.22 MB / 0.8428 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7623, allocations: 0 / 0.8428 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7623, allocations: 0 / 0.8428 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.7623, allocations: 0 / 0.8428 GB, free: 7.375 MB / 0.6075 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.002761/0.7651, allocations: 1.27 MB / 0.844 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.7651, allocations: 11.27 kB / 0.844 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006002/0.7657, allocations: 130.4 kB / 0.8441 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.767, allocations: 0.746 MB / 0.8449 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.767, allocations: 34.09 kB / 0.8449 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.7671, allocations: 44.56 kB / 0.8449 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/0.7679, allocations: 461.1 kB / 0.8454 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.7679, allocations: 3.938 kB / 0.8454 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.7679, allocations: 16.3 kB / 0.8454 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.768, allocations: 17.44 kB / 0.8454 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.7687, allocations: 356.3 kB / 0.8458 GB, free: 5.281 MB / 0.6075 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.002397/0.7711, allocations: 1.906 MB / 0.8476 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.7717, allocations: 302.3 kB / 0.8479 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.7721, allocations: 158.2 kB / 0.8481 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.7723, allocations: 188.8 kB / 0.8482 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.7724, allocations: 40.81 kB / 0.8483 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.7724, allocations: 6.125 kB / 0.8483 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.001751/0.7742, allocations: 0.6527 MB / 0.8489 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.7742, allocations: 56.06 kB / 0.849 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.7754, allocations: 0.8885 MB / 0.8498 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.7755, allocations: 32.27 kB / 0.8499 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.7757, allocations: 339.5 kB / 0.8502 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.7758, allocations: 93.08 kB / 0.8503 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.776, allocations: 76.66 kB / 0.8504 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7761, allocations: 320.2 kB / 0.8507 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.7764, allocations: 129.9 kB / 0.8508 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.7769, allocations: 293.5 kB / 0.8511 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.7775, allocations: 294.4 kB / 0.8514 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.7775, allocations: 4 kB / 0.8514 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001041/0.7785, allocations: 471.1 kB / 0.8518 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7785, allocations: 2.75 kB / 0.8518 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7785, allocations: 2.125 kB / 0.8518 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.7789, allocations: 59.06 kB / 0.8519 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/0.7795, allocations: 99.52 kB / 0.852 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000731/0.7802, allocations: 1.159 MB / 0.8531 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008175/0.781, allocations: 82.66 kB / 0.8532 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.7811, allocations: 14.02 kB / 0.8532 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004426/0.7815, allocations: 284.8 kB / 0.8535 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004244/0.782, allocations: 293.4 kB / 0.8537 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005593/0.7825, allocations: 296.2 kB / 0.854 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.7826, allocations: 0 / 0.854 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000877/0.7834, allocations: 436.8 kB / 0.8544 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.7835, allocations: 4 kB / 0.8544 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.7835, allocations: 4 kB / 0.8544 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.7836, allocations: 40.83 kB / 0.8545 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.784, allocations: 83.88 kB / 0.8546 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.7854, allocations: 1.689 MB / 0.8562 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009099/0.7863, allocations: 99.83 kB / 0.8563 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.7864, allocations: 8 kB / 0.8563 GB, free: 12.56 MB / 0.6231 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.7865, allocations: 204.1 kB / 0.8565 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.7867, allocations: 79.05 kB / 0.8566 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009564/0.7876, allocations: 440.9 kB / 0.857 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.7877, allocations: 4 kB / 0.857 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.7877, allocations: 3.938 kB / 0.857 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7877, allocations: 11.88 kB / 0.857 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.7896, allocations: 1.201 MB / 0.8582 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7896, allocations: 0 / 0.8582 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.79, allocations: 63.89 kB / 0.8583 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.7901, allocations: 40.92 kB / 0.8583 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.7902, allocations: 15.98 kB / 0.8583 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006635/0.7909, allocations: 1.15 MB / 0.8594 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7909, allocations: 0 / 0.8594 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.7921, allocations: 0.7073 MB / 0.8601 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.7924, allocations: 208 kB / 0.8603 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.7926, allocations: 8 kB / 0.8603 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/0.7932, allocations: 39.94 kB / 0.8604 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.7933, allocations: 31.91 kB / 0.8604 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.7933, allocations: 12 kB / 0.8604 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001008/0.7944, allocations: 0.6396 MB / 0.861 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7944, allocations: 0 / 0.861 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00091/0.7953, allocations: 299.5 kB / 0.8613 GB, free: 7.23 MB / 0.6231 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005172/0.7958, allocations: 209.7 kB / 0.8615 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.7974, allocations: 0.6152 MB / 0.8621 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7974, allocations: 0 / 0.8621 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.7979, allocations: 179.7 kB / 0.8623 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.7992, allocations: 280.3 kB / 0.8626 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.8014, allocations: 1.269 MB / 0.8638 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/0.8021, allocations: 0.941 MB / 0.8647 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.8023, allocations: 63.41 kB / 0.8648 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.8023, allocations: 7.938 kB / 0.8648 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of Templates: time 0.02133/0.8236, allocations: 16.04 MB / 0.8805 GB, free: 3.66 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (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 & ./IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)