Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_8_Buildings_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.001726/0.001726, 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.002098/0.002098, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.878/1.878, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000621/0.000621, allocations: 24.95 kB / 0.6737 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2824, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.8879/1.17, allocations: 146 MB / 0.9298 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01059/1.181, allocations: 5.872 MB / 0.9356 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/1.182, allocations: 20.84 kB / 0.9356 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/1.184, allocations: 405.4 kB / 0.936 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003966/1.188, allocations: 1.071 MB / 0.937 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006933/1.195, allocations: 1.779 MB / 0.9388 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002951/1.198, allocations: 1.014 MB / 0.9398 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/1.199, allocations: 0.5163 MB / 0.9403 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/1.201, allocations: 0.6538 MB / 0.9409 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/1.202, allocations: 432.6 kB / 0.9413 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/1.203, allocations: 36.12 kB / 0.9413 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/1.206, allocations: 0.7993 MB / 0.9421 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003942/1.206, allocations: 229.7 kB / 0.9423 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/1.206, allocations: 170.4 kB / 0.9425 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002177/1.209, allocations: 0.9857 MB / 0.9435 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.209, allocations: 0 / 0.9435 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.038e-06/1.209, allocations: 0 / 0.9435 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.515e-05/1.209, allocations: 0.7188 kB / 0.9435 GB, free: 5.445 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.003694/1.212, allocations: 1.186 MB / 0.9446 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/1.212, allocations: 13.86 kB / 0.9446 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/1.213, allocations: 77.28 kB / 0.9447 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006383/1.213, allocations: 138.5 kB / 0.9448 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/1.215, allocations: 0.7102 MB / 0.9455 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/1.215, allocations: 39.06 kB / 0.9456 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.214e-05/1.215, allocations: 50.06 kB / 0.9456 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/1.216, allocations: 0.4935 MB / 0.9461 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.216, allocations: 0 / 0.9461 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/1.216, allocations: 19.45 kB / 0.9461 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/1.216, allocations: 12.5 kB / 0.9461 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007458/1.217, allocations: 359.9 kB / 0.9465 GB, free: 20.22 MB / 0.7325 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.003011/1.22, allocations: 1.941 MB / 0.9484 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/1.221, allocations: 370.4 kB / 0.9487 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.03e-05/1.221, allocations: 15.66 kB / 0.9487 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/1.221, allocations: 34.66 kB / 0.9488 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.164e-06/1.221, allocations: 0 / 0.9488 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.002028/1.223, allocations: 0.703 MB / 0.9495 GB, free: 19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.223, allocations: 212.2 kB / 0.9497 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/1.224, allocations: 0.9158 MB / 0.9506 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-05/1.224, allocations: 35.64 kB / 0.9506 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/1.225, allocations: 361.7 kB / 0.9509 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.768e-05/1.225, allocations: 96.58 kB / 0.951 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/1.225, allocations: 3.719 kB / 0.951 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.225, allocations: 321.2 kB / 0.9513 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/1.225, allocations: 159.6 kB / 0.9515 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/1.226, allocations: 369.1 kB / 0.9518 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/1.226, allocations: 200.1 kB / 0.952 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/1.227, allocations: 5.672 kB / 0.952 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001214/1.228, allocations: 0.5431 MB / 0.9526 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/1.228, allocations: 272.3 kB / 0.9528 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/1.228, allocations: 3.125 kB / 0.9528 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/1.228, allocations: 62.25 kB / 0.9529 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/1.229, allocations: 98.39 kB / 0.953 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007153/1.23, allocations: 1.152 MB / 0.9541 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009602/1.231, allocations: 115 kB / 0.9542 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/1.231, allocations: 16.25 kB / 0.9542 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/1.231, allocations: 3.781 kB / 0.9542 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008785/1.231, allocations: 420.4 kB / 0.9546 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.232, allocations: 2.844 kB / 0.9546 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/1.232, allocations: 40.55 kB / 0.9547 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/1.232, allocations: 75.22 kB / 0.9548 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/1.233, allocations: 1.487 MB / 0.9562 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009492/1.234, allocations: 117.6 kB / 0.9563 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/1.234, allocations: 12.11 kB / 0.9563 GB, free: 14.94 MB / 0.7325 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 (31): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004874/1.235, allocations: 294.8 kB / 0.9566 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/1.235, allocations: 82.38 kB / 0.9567 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009835/1.236, allocations: 466.7 kB / 0.9571 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.236, allocations: 2.375 kB / 0.9571 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/1.236, allocations: 9 kB / 0.9571 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/1.236, allocations: 3.141 kB / 0.9572 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/1.238, allocations: 1.217 MB / 0.9583 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.238, allocations: 5.297 kB / 0.9583 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/1.238, allocations: 67.84 kB / 0.9584 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/1.238, allocations: 40.91 kB / 0.9584 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/1.239, allocations: 10.83 kB / 0.9585 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006362/1.239, allocations: 1.155 MB / 0.9596 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.239, allocations: 4.25 kB / 0.9596 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/1.24, allocations: 0.8142 MB / 0.9604 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/1.241, allocations: 211.6 kB / 0.9606 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.241, allocations: 11.83 kB / 0.9606 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/1.242, allocations: 60.2 kB / 0.9607 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/1.242, allocations: 25.09 kB / 0.9607 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/1.242, allocations: 15.12 kB / 0.9607 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009478/1.243, allocations: 0.6589 MB / 0.9613 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.243, allocations: 4 kB / 0.9613 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001252/1.244, allocations: 350.4 kB / 0.9617 GB, free: 12.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[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.002122/1.246, allocations: 1.9 MB / 0.9635 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001859/1.248, allocations: 0.8228 MB / 0.9643 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.248, allocations: 0 / 0.9643 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004043/1.248, allocations: 195.7 kB / 0.9645 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/1.25, allocations: 321 kB / 0.9648 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/1.253, allocations: 2.298 MB / 0.9671 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/1.253, allocations: 0.9797 MB / 0.968 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007554/1.254, allocations: 176.4 kB / 0.9682 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/1.255, allocations: 288.9 kB / 0.9685 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of SimCode: time 1.182e-06/1.255, allocations: 0 / 0.9685 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04742/1.302, allocations: 21.2 MB / 0.9892 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/1.302, allocations: 279.1 kB / 0.9894 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/3.629, allocations: 0 / 0.9894 GB, free: 15.41 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) Environment - environmentSimulation: