Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00789/0.00789, allocations: 104.7 kB / 15.74 MB, free: 6.02 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.001367/0.001368, allocations: 188 kB / 16.67 MB, free: 5.941 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.428/1.428, allocations: 222.9 MB / 240.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002179/0.002179, allocations: 273.2 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9624/0.9624, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 88.23 kB / 0.6814 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5264/0.5282, allocations: 86.98 MB / 0.7664 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002301/0.5306, allocations: 1.23 MB / 0.7676 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.5318, allocations: 0.7039 MB / 0.7683 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.5318, allocations: 3.938 kB / 0.7683 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.5319, allocations: 0 / 0.7683 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.532, allocations: 0 / 0.7683 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.5323, allocations: 99.69 kB / 0.7684 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.811e-05/0.5324, allocations: 11.92 kB / 0.7684 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.5324, allocations: 4 kB / 0.7684 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/0.5325, allocations: 11.92 kB / 0.7684 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.021e-05/0.5326, allocations: 11.92 kB / 0.7684 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.5326, allocations: 4 kB / 0.7684 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.5329, allocations: 127.8 kB / 0.7685 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.5329, allocations: 0 / 0.7685 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.5329, allocations: 15.92 kB / 0.7685 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.5331, allocations: 75.67 kB / 0.7686 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5331, allocations: 0 / 0.7686 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5331, allocations: 0 / 0.7686 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.5331, allocations: 4 kB / 0.7686 GB, free: 1.75 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004276/0.5335, allocations: 337.6 kB / 0.7689 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5336, allocations: 8.031 kB / 0.769 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.5336, allocations: 0.9375 kB / 0.769 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.5338, allocations: 164.4 kB / 0.7691 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5338, allocations: 4.375 kB / 0.7691 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.5338, allocations: 3.938 kB / 0.7691 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.5339, allocations: 37.62 kB / 0.7692 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5339, allocations: 0 / 0.7692 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5339, allocations: 4 kB / 0.7692 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.534, allocations: 0 / 0.7692 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.777e-05/0.534, allocations: 8 kB / 0.7692 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.5343, allocations: 145.7 kB / 0.7693 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.616e-05/0.5343, allocations: 34.5 kB / 0.7693 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.5344, allocations: 4.859 kB / 0.7693 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/0.535, allocations: 413.6 kB / 0.7697 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.535, allocations: 42.44 kB / 0.7698 GB, free: 324 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.535, allocations: 0 / 0.7698 GB, free: 324 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001592/0.5352, allocations: 37.83 kB / 0.7698 GB, free: 280 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.5353, allocations: 55.41 kB / 0.7699 GB, free: 212 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.5354, allocations: 101.8 kB / 0.77 GB, free: 100 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.5354, allocations: 25.7 kB / 0.77 GB, free: 68 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.5355, allocations: 80.14 kB / 0.7701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.5355, allocations: 3.953 kB / 0.7701 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.5355, allocations: 13.72 kB / 0.7701 GB, free: 15.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5357, allocations: 314.8 kB / 0.7704 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.5357, allocations: 8.125 kB / 0.7704 GB, free: 15.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.5358, allocations: 0 / 0.7704 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.5358, allocations: 20.78 kB / 0.7704 GB, free: 15.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5358, allocations: 0 / 0.7704 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.106e-05/0.5359, allocations: 41.64 kB / 0.7705 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5359, allocations: 4 kB / 0.7705 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5359, allocations: 3.938 kB / 0.7705 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5359, allocations: 0 / 0.7705 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.583e-05/0.536, allocations: 8.094 kB / 0.7705 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.536, allocations: 0 / 0.7705 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/0.536, allocations: 0 / 0.7705 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.536, allocations: 0 / 0.7705 GB, free: 15.55 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.5361, allocations: 120.2 kB / 0.7706 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.5362, allocations: 3.953 kB / 0.7706 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.5363, allocations: 44.77 kB / 0.7706 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.5363, allocations: 0 / 0.7706 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5363, allocations: 3.984 kB / 0.7706 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5363, allocations: 4.031 kB / 0.7706 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.5364, allocations: 153.6 kB / 0.7708 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.5364, allocations: 0 / 0.7708 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.5364, allocations: 4 kB / 0.7708 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.5365, allocations: 7.969 kB / 0.7708 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.5365, allocations: 0 / 0.7708 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5365, allocations: 0 / 0.7708 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5365, allocations: 0 / 0.7708 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.932e-05/0.5366, allocations: 73.02 kB / 0.7709 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.5366, allocations: 84.98 kB / 0.7709 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.5367, allocations: 3.984 kB / 0.7709 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.283e-05/0.5367, allocations: 4 kB / 0.771 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.5367, allocations: 4 kB / 0.771 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.5367, allocations: 0 / 0.771 GB, free: 14.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.5367, allocations: 79.28 kB / 0.771 GB, free: 14.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5367, allocations: 0 / 0.771 GB, free: 14.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002246/0.537, allocations: 19.94 kB / 0.771 GB, free: 14.86 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002405/0.5372, allocations: 131.3 kB / 0.7712 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.999e-05/0.5373, allocations: 12 kB / 0.7712 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5373, allocations: 0 / 0.7712 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.5374, allocations: 7.938 kB / 0.7712 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.5375, allocations: 15.38 kB / 0.7712 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.5378, allocations: 93.59 kB / 0.7713 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5381, allocations: 0.6769 MB / 0.772 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.022e-05/0.5382, allocations: 7.938 kB / 0.772 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.5382, allocations: 7.438 kB / 0.772 GB, free: 13.84 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.5382, allocations: 0 / 0.772 GB, free: 13.84 MB / 0.545 GB Notification: Performance of Templates: time 0.00289/0.5411, allocations: 0.7063 MB / 0.7727 GB, free: 13.14 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)