Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 101.5 kB / 16.26 MB, free: 5.934 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.002024/0.002024, allocations: 186.9 kB / 17.2 MB, free: 5.574 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7122/0.7122, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 63.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5306/0.5321, allocations: 77.92 MB / 0.5672 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003476/0.5356, allocations: 1.249 MB / 0.5684 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000432/0.5361, allocations: 119.2 kB / 0.5685 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.5362, allocations: 4.5 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.5362, allocations: 1.938 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.5363, allocations: 6.594 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.5367, allocations: 38 kB / 0.5686 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.5368, allocations: 16.44 kB / 0.5686 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.5369, allocations: 2.781 kB / 0.5686 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.5369, allocations: 3.938 kB / 0.5686 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.881e-05/0.537, allocations: 9.812 kB / 0.5686 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.537, allocations: 1.469 kB / 0.5686 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.5373, allocations: 50.48 kB / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.5373, allocations: 1.938 kB / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.5373, allocations: 11.97 kB / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.5375, allocations: 41.48 kB / 0.5687 GB, free: 31.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.5376, allocations: 3.375 kB / 0.5687 GB, free: 31.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.5376, allocations: 0 / 0.5687 GB, free: 31.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.5376, allocations: 0 / 0.5687 GB, free: 31.62 MB / 446.1 MB 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.0005953/0.5382, allocations: 328.6 kB / 0.569 GB, free: 31.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/0.5383, allocations: 9.875 kB / 0.569 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.5383, allocations: 6.719 kB / 0.569 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.5385, allocations: 172.6 kB / 0.5692 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.5385, allocations: 1.625 kB / 0.5692 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.5386, allocations: 1.531 kB / 0.5692 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.5387, allocations: 35.14 kB / 0.5692 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5387, allocations: 1.125 kB / 0.5692 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.5387, allocations: 0 / 0.5692 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5387, allocations: 0 / 0.5692 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.562e-05/0.5388, allocations: 5.875 kB / 0.5693 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.539, allocations: 152.3 kB / 0.5694 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/0.539, allocations: 33.06 kB / 0.5694 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.5391, allocations: 7.891 kB / 0.5694 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007291/0.5398, allocations: 0.6032 MB / 0.57 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.5398, allocations: 35.53 kB / 0.5701 GB, free: 30.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5399, allocations: 0.5312 kB / 0.5701 GB, free: 30.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000208/0.5401, allocations: 42.94 kB / 0.5701 GB, free: 30.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.5401, allocations: 57 kB / 0.5702 GB, free: 30 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.5402, allocations: 103.4 kB / 0.5703 GB, free: 29.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.5402, allocations: 26.73 kB / 0.5703 GB, free: 29.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.5403, allocations: 82.45 kB / 0.5704 GB, free: 29.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.5403, allocations: 10.34 kB / 0.5704 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.5404, allocations: 17 kB / 0.5704 GB, free: 29.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5405, allocations: 313.3 kB / 0.5707 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.5405, allocations: 2.531 kB / 0.5707 GB, free: 29.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.5405, allocations: 2.625 kB / 0.5707 GB, free: 29.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.056e-05/0.5406, allocations: 16.12 kB / 0.5707 GB, free: 29.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5406, allocations: 1.188 kB / 0.5707 GB, free: 29.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.707e-05/0.5407, allocations: 39.91 kB / 0.5707 GB, free: 29.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.5407, allocations: 8.25 kB / 0.5707 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.5407, allocations: 0.5312 kB / 0.5707 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.5407, allocations: 3.016 kB / 0.5708 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.5408, allocations: 6.438 kB / 0.5708 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.5408, allocations: 3.375 kB / 0.5708 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.5409, allocations: 0 / 0.5708 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.5409, allocations: 0 / 0.5708 GB, free: 29.39 MB / 446.1 MB 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 8.487e-05/0.541, allocations: 117.3 kB / 0.5709 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.541, allocations: 9.875 kB / 0.5709 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.5411, allocations: 46.12 kB / 0.5709 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5411, allocations: 1.734 kB / 0.5709 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5411, allocations: 0 / 0.5709 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5412, allocations: 2.875 kB / 0.5709 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.5413, allocations: 152.2 kB / 0.5711 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5413, allocations: 0 / 0.5711 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.5413, allocations: 11.47 kB / 0.5711 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.5413, allocations: 0 / 0.5711 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.5413, allocations: 8.047 kB / 0.5711 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5414, allocations: 3.938 kB / 0.5711 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5414, allocations: 0 / 0.5711 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.707e-05/0.5415, allocations: 63.31 kB / 0.5712 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.5415, allocations: 84.02 kB / 0.5712 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.5415, allocations: 2.094 kB / 0.5712 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.785e-05/0.5416, allocations: 0 / 0.5712 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.5416, allocations: 6.109 kB / 0.5712 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.5416, allocations: 3.094 kB / 0.5713 GB, free: 28.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.974e-05/0.5416, allocations: 78.45 kB / 0.5713 GB, free: 28.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5416, allocations: 0 / 0.5713 GB, free: 28.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.5419, allocations: 17.11 kB / 0.5713 GB, free: 28.77 MB / 446.1 MB 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.0002815/0.5422, allocations: 119.9 kB / 0.5715 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.5424, allocations: 15.08 kB / 0.5715 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5424, allocations: 0 / 0.5715 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.5424, allocations: 4.531 kB / 0.5715 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.5427, allocations: 5.531 kB / 0.5715 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.5432, allocations: 104.5 kB / 0.5716 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.5435, allocations: 0.6747 MB / 0.5722 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.5435, allocations: 4.484 kB / 0.5722 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.5436, allocations: 9.031 kB / 0.5723 GB, free: 27.86 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5436, allocations: 0.5312 kB / 0.5723 GB, free: 27.86 MB / 446.1 MB Notification: Performance of Templates: time 0.004358/0.5479, allocations: 0.6005 MB / 0.5728 GB, free: 27.8 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)