Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 174.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.405/1.405, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.746/2.746, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.001322/0.001322, allocations: 99.53 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.691e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9418/0.9419, allocations: 82.29 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.792/10.73, allocations: 1.875 GB / 2.509 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000418/10.73, allocations: 89.44 kB / 2.509 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.832/14.57, allocations: 457.2 MB / 2.956 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.697e-06/14.57, allocations: 0 / 2.956 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002724/14.57, allocations: 16.53 kB / 2.956 GB, free: 161.8 MB / 0.6823 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.006155/14.57, allocations: 1.019 MB / 2.957 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.777e-05/14.57, allocations: 10 kB / 2.957 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/14.58, allocations: 164.8 kB / 2.957 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/14.58, allocations: 0.6939 MB / 2.957 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/14.58, allocations: 12 kB / 2.957 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/14.58, allocations: 28.28 kB / 2.957 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009196/14.58, allocations: 264.1 kB / 2.958 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/14.58, allocations: 376.9 kB / 2.958 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/14.58, allocations: 0 / 2.958 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/14.58, allocations: 3.953 kB / 2.958 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/14.58, allocations: 12.5 kB / 2.958 GB, free: 160.8 MB / 0.6823 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.004856/14.59, allocations: 1.845 MB / 2.96 GB, free: 160 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007819/14.59, allocations: 317.7 kB / 2.96 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/14.59, allocations: 135.3 kB / 2.96 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004519/14.59, allocations: 192.7 kB / 2.961 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/14.59, allocations: 38.11 kB / 2.961 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=28): time 5.811e-06/14.59, allocations: 3.188 kB / 2.961 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.00191/14.59, allocations: 403.9 kB / 2.961 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/14.59, allocations: 58.62 kB / 2.961 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/14.59, allocations: 0.6401 MB / 2.962 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/14.59, allocations: 32.61 kB / 2.962 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/14.59, allocations: 328.9 kB / 2.962 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/14.59, allocations: 98.52 kB / 2.962 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/14.59, allocations: 0 / 2.962 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001767/14.59, allocations: 317 kB / 2.962 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/14.59, allocations: 102 kB / 2.962 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/14.59, allocations: 274.1 kB / 2.963 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/14.59, allocations: 149.4 kB / 2.963 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/14.59, allocations: 5.25 kB / 2.963 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001433/14.6, allocations: 391 kB / 2.963 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002454/14.6, allocations: 281.7 kB / 2.964 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/14.6, allocations: 7.75 kB / 2.964 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/14.6, allocations: 31.55 kB / 2.964 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000929/14.6, allocations: 98.77 kB / 2.964 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/14.6, allocations: 1.164 MB / 2.965 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/14.6, allocations: 94.19 kB / 2.965 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.871e-05/14.6, allocations: 18.19 kB / 2.965 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/14.6, allocations: 3.625 kB / 2.965 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007996/14.6, allocations: 276.5 kB / 2.965 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/14.6, allocations: 0 / 2.965 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/14.6, allocations: 38.08 kB / 2.965 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/14.6, allocations: 91.92 kB / 2.965 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/14.6, allocations: 1.418 MB / 2.967 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/14.61, allocations: 80.08 kB / 2.967 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/14.61, allocations: 15.69 kB / 2.967 GB, free: 156 MB / 0.6823 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.0003132/14.61, allocations: 116.8 kB / 2.967 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001365/14.61, allocations: 357 kB / 2.967 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/14.61, allocations: 69.28 kB / 2.967 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/14.61, allocations: 399.2 kB / 2.968 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/14.61, allocations: 3.781 kB / 2.968 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/14.61, allocations: 3.953 kB / 2.968 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/14.61, allocations: 0 / 2.968 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/14.61, allocations: 1.12 MB / 2.969 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/14.61, allocations: 2.562 kB / 2.969 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/14.61, allocations: 69.97 kB / 2.969 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/14.61, allocations: 26.95 kB / 2.969 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/14.61, allocations: 10.19 kB / 2.969 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006821/14.61, allocations: 1.153 MB / 2.97 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/14.61, allocations: 0 / 2.97 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/14.61, allocations: 0.7124 MB / 2.971 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000504/14.61, allocations: 213.9 kB / 2.971 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/14.61, allocations: 7.047 kB / 2.971 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/14.62, allocations: 53.53 kB / 2.971 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/14.62, allocations: 28.75 kB / 2.971 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.04e-05/14.62, allocations: 19.14 kB / 2.971 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001087/14.62, allocations: 0.5054 MB / 2.972 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.216e-06/14.62, allocations: 0 / 2.972 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002208/14.62, allocations: 403.8 kB / 2.972 GB, free: 153.7 MB / 0.6823 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.005007/14.62, allocations: 2.932 MB / 2.975 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002056/14.63, allocations: 0.5638 MB / 2.975 GB, free: 152 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/14.63, allocations: 0 / 2.975 GB, free: 152 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/14.63, allocations: 156.6 kB / 2.975 GB, free: 152 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/14.63, allocations: 231.9 kB / 2.976 GB, free: 152 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/14.63, allocations: 1.027 MB / 2.977 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/14.63, allocations: 0.9538 MB / 2.978 GB, free: 151 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001905/14.64, allocations: 250.5 kB / 2.978 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/14.64, allocations: 236.2 kB / 2.978 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.004e-06/14.64, allocations: 4.969 kB / 2.978 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/14.75, allocations: 26.32 MB / 3.004 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003281/14.75, allocations: 178.7 kB / 3.004 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.475/20.23, allocations: 0 / 3.004 GB, free: 149.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)