Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001291/0.001291, 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.001326/0.001326, allocations: 194.5 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.873/2.873, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 65.98 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3243, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002774/0.3271, allocations: 1.255 MB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003163/0.3274, allocations: 119.6 kB / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.3275, allocations: 0 / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.3275, allocations: 3.938 kB / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.684e-05/0.3276, allocations: 0 / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.3278, allocations: 47.83 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.3279, allocations: 27.84 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.3279, allocations: 0 / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/0.328, allocations: 4 kB / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.328, allocations: 4 kB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.328, allocations: 0 / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.3282, allocations: 51.94 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.3282, allocations: 3.938 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.3282, allocations: 4 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3284, allocations: 39.88 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3284, allocations: 4 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3284, allocations: 4 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.3284, allocations: 3.984 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.000413/0.3288, allocations: 327.8 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3289, allocations: 8.031 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.3289, allocations: 8.844 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.3291, allocations: 164.3 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3291, allocations: 384 / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3291, allocations: 4.375 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.867e-05/0.3292, allocations: 41.77 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3292, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3292, allocations: 3.984 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3292, allocations: 4 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.3293, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.3294, allocations: 149.7 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.125e-05/0.3295, allocations: 30.59 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.3295, allocations: 8.859 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007355/0.3303, allocations: 0.6052 MB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.3303, allocations: 38.48 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.3303, allocations: 3.938 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001488/0.3305, allocations: 41.7 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3305, allocations: 55.53 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.3306, allocations: 97.84 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3306, allocations: 25.7 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.3307, allocations: 84.14 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.3307, allocations: 3.906 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.3307, allocations: 13.72 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3309, allocations: 314.8 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.3309, allocations: 4 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.18e-05/0.3309, allocations: 14.09 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.3309, allocations: 16.8 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3309, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.237e-05/0.331, allocations: 41.64 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.331, allocations: 4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.331, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3311, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/0.3311, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3311, allocations: 3.984 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.3312, allocations: 8.094 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.3312, 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 7.434e-05/0.3312, allocations: 106.4 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.3313, allocations: 3.938 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.3314, allocations: 52.75 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3314, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3314, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3314, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.3315, allocations: 161.5 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3315, allocations: 4 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.3316, allocations: 15.88 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3316, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.3316, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3316, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3316, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.634e-05/0.3317, allocations: 69.06 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.3318, allocations: 85.08 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.3318, allocations: 0 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.3318, allocations: 0 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.3318, allocations: 4 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.3319, allocations: 4 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.3319, allocations: 79.27 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3319, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002048/0.3321, allocations: 12 kB / 1.072 GB, free: 5.719 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.0002256/0.3324, allocations: 115.2 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.3325, allocations: 11.98 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3325, allocations: 3.938 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.3325, allocations: 7.938 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3328, allocations: 5.875 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.3332, allocations: 118 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.3335, allocations: 0.6847 MB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.3335, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.3336, allocations: 11.44 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3336, allocations: 0 / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of Templates: time 0.003015/0.3366, allocations: 0.5883 MB / 1.074 GB, free: 4.117 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)