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.007985/0.007985, allocations: 171.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8772/0.8772, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.843/1.843, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001203/0.001202, allocations: 99.98 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004298, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.459, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.941/5.4, allocations: 1.876 GB / 2.525 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/5.401, allocations: 91.95 kB / 2.525 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.877/7.278, allocations: 463 MB / 2.978 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/7.278, allocations: 3.828 kB / 2.978 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.841e-05/7.278, allocations: 15.72 kB / 2.978 GB, free: 159.5 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.003101/7.281, allocations: 1.279 MB / 2.979 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/7.281, allocations: 7.25 kB / 2.979 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.482e-05/7.281, allocations: 75.62 kB / 2.979 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009622/7.282, allocations: 174.3 kB / 2.979 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/7.284, allocations: 0.7053 MB / 2.98 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/7.284, allocations: 34.38 kB / 2.98 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.377e-05/7.284, allocations: 58.58 kB / 2.98 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/7.285, allocations: 453.5 kB / 2.98 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/7.285, allocations: 3.953 kB / 2.98 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/7.285, allocations: 17.97 kB / 2.98 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/7.285, allocations: 14.91 kB / 2.98 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006698/7.286, allocations: 351.3 kB / 2.981 GB, free: 158.5 MB / 0.6823 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.002465/7.288, allocations: 1.952 MB / 2.983 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/7.289, allocations: 363.2 kB / 2.983 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/7.289, allocations: 197.1 kB / 2.983 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/7.289, allocations: 32.58 kB / 2.983 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=28): time 1.963e-06/7.289, allocations: 0 / 2.983 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.00169/7.291, allocations: 0.6866 MB / 2.984 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/7.291, allocations: 55.25 kB / 2.984 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/7.292, allocations: 0.7792 MB / 2.985 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/7.292, allocations: 36.8 kB / 2.985 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/7.292, allocations: 329.9 kB / 2.985 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.11e-05/7.292, allocations: 98.56 kB / 2.985 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/7.292, allocations: 7.844 kB / 2.985 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/7.292, allocations: 323.3 kB / 2.985 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/7.293, allocations: 129.6 kB / 2.986 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/7.293, allocations: 314.1 kB / 2.986 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/7.293, allocations: 176 kB / 2.986 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/7.293, allocations: 0 / 2.986 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008555/7.294, allocations: 475.7 kB / 2.986 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/7.294, allocations: 278.2 kB / 2.987 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/7.294, allocations: 3.312 kB / 2.987 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/7.294, allocations: 32.91 kB / 2.987 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/7.295, allocations: 103.2 kB / 2.987 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005329/7.296, allocations: 1.154 MB / 2.988 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009323/7.297, allocations: 101.3 kB / 2.988 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/7.297, allocations: 27.27 kB / 2.988 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/7.297, allocations: 3.906 kB / 2.988 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007675/7.297, allocations: 365.6 kB / 2.988 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-06/7.297, allocations: 0 / 2.988 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/7.298, allocations: 41.2 kB / 2.989 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/7.298, allocations: 102.6 kB / 2.989 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/7.299, allocations: 1.468 MB / 2.99 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008998/7.3, allocations: 96.33 kB / 2.99 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/7.3, allocations: 21.67 kB / 2.99 GB, free: 153.4 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 () * Number of clocked 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.0003954/7.3, allocations: 285.5 kB / 2.99 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/7.301, allocations: 73.25 kB / 2.99 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009403/7.302, allocations: 488.9 kB / 2.991 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/7.302, allocations: 3.531 kB / 2.991 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/7.302, allocations: 4 kB / 2.991 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/7.302, allocations: 0 / 2.991 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/7.303, allocations: 1.25 MB / 2.992 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/7.303, allocations: 0 / 2.992 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/7.304, allocations: 73.8 kB / 2.992 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/7.304, allocations: 34.06 kB / 2.992 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/7.304, allocations: 18.95 kB / 2.992 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004464/7.304, allocations: 1.151 MB / 2.993 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/7.304, allocations: 7.75 kB / 2.993 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/7.306, allocations: 0.8209 MB / 2.994 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/7.306, allocations: 216.9 kB / 2.994 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/7.306, allocations: 11.59 kB / 2.994 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007428/7.307, allocations: 55.34 kB / 2.995 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/7.307, allocations: 29.48 kB / 2.995 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/7.307, allocations: 13.72 kB / 2.995 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009004/7.308, allocations: 0.6236 MB / 2.995 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/7.308, allocations: 3.312 kB / 2.995 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001625/7.31, allocations: 442 kB / 2.996 GB, free: 150.3 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 () * Number of clocked 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.00336/7.313, allocations: 2.903 MB / 2.998 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001559/7.315, allocations: 0.6284 MB / 2.999 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/7.315, allocations: 0 / 2.999 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/7.315, allocations: 191.5 kB / 2.999 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/7.316, allocations: 302.5 kB / 3 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006903/7.323, allocations: 4.765 MB / 3.004 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/7.324, allocations: 0.9581 MB / 3.005 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008011/7.325, allocations: 173.9 kB / 3.005 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/7.325, allocations: 254.8 kB / 3.006 GB, free: 145 MB / 0.6823 GB Notification: Performance of SimCode: time 9.398e-06/7.325, allocations: 2.625 kB / 3.006 GB, free: 145 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06546/7.391, allocations: 37.99 MB / 3.043 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/7.391, allocations: 254.9 kB / 3.043 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/10.61, allocations: 3.938 kB / 3.043 GB, free: 108.2 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)