Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001831/0.001838, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002632/0.002632, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 68.06 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3117, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002483/0.3143, allocations: 1.253 MB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003234/0.3146, allocations: 123.5 kB / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.3146, allocations: 0 / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.3147, allocations: 0 / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.303e-05/0.3147, allocations: 3.938 kB / 1.07 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.315, allocations: 47.88 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.247e-05/0.315, allocations: 11.88 kB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.3151, allocations: 11.98 kB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.3151, allocations: 4 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.3152, allocations: 0 / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3152, allocations: 4 kB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.3153, allocations: 51.94 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.3153, allocations: 7.922 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.3154, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.3155, allocations: 35.89 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3155, allocations: 4 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.016e-06/0.3155, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.3155, allocations: 3.938 kB / 1.07 GB, free: 8.855 MB / 0.8262 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.0003617/0.3159, allocations: 335.8 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3159, allocations: 8.031 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.316, allocations: 4.844 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3161, allocations: 168.4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3161, allocations: 384 / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.3161, allocations: 384 / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.399e-05/0.3162, allocations: 41.83 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3162, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.3162, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3162, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.663e-05/0.3163, allocations: 7.984 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.3164, allocations: 149.7 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.3165, allocations: 26.53 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.3165, allocations: 16.92 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006839/0.3172, allocations: 0.6013 MB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3172, allocations: 38.44 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3172, allocations: 0 / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001309/0.3174, allocations: 45.62 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.3174, allocations: 51.41 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.3175, allocations: 102 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3175, allocations: 25.7 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.3176, allocations: 88.12 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.3176, allocations: 3.906 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.3176, allocations: 13.72 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3177, allocations: 310.8 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.3177, allocations: 8 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.3178, allocations: 6.172 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.3178, allocations: 20.84 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3178, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.389e-05/0.3179, allocations: 49.58 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3179, allocations: 4 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3179, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3179, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.318, allocations: 4 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.318, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.855e-05/0.318, allocations: 192 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.318, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 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 6.913e-05/0.3181, allocations: 118.4 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.3181, allocations: 7.922 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.922e-05/0.3182, allocations: 44.81 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3182, allocations: 3.984 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3182, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3182, allocations: 3.938 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.824e-05/0.3183, allocations: 161.5 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3183, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.3184, allocations: 15.95 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3184, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.3184, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3184, allocations: 4 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3184, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.614e-05/0.3185, allocations: 57.14 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3185, allocations: 85.03 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3185, allocations: 4 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.618e-05/0.3186, allocations: 4.031 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.3186, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3186, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.3186, allocations: 83.28 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3186, allocations: 3.938 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001949/0.3188, allocations: 12 kB / 1.072 GB, free: 5.707 MB / 0.8262 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.0001577/0.319, allocations: 115.2 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.508e-05/0.3191, allocations: 16 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3191, allocations: 0 / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.3191, allocations: 11.92 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.3193, allocations: 4 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.3196, allocations: 119 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.3198, allocations: 0.6729 MB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.633e-05/0.3198, allocations: 8.109 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.3198, allocations: 7.438 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3199, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.002496/0.3224, allocations: 0.5934 MB / 1.074 GB, free: 4.105 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)