Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.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/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.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001387/0.001387, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.302/1.302, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002308/0.002308, allocations: 298.7 kB / 291.3 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9527/0.9527, allocations: 169.2 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 103 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1641, allocations: 86.97 MB / 0.6808 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.4774/0.6416, allocations: 192.6 MB / 0.8689 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00643/0.648, allocations: 4.02 MB / 0.8729 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.6491, allocations: 19.88 kB / 0.8729 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.6506, allocations: 484.9 kB / 0.8733 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003984/0.6546, allocations: 1.528 MB / 0.8748 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.6583, allocations: 1.348 MB / 0.8761 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002404/0.6607, allocations: 1.631 MB / 0.8777 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.6621, allocations: 0.9471 MB / 0.8787 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.6638, allocations: 0.915 MB / 0.8796 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.6651, allocations: 0.8604 MB / 0.8804 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.6653, allocations: 92 kB / 0.8805 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.668, allocations: 1.305 MB / 0.8818 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004479/0.6685, allocations: 347 kB / 0.8821 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008328/0.6693, allocations: 0.5172 MB / 0.8826 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.6721, allocations: 1.617 MB / 0.8842 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.6721, allocations: 3.984 kB / 0.8842 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6721, allocations: 0 / 0.8842 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.462e-05/0.6722, allocations: 0 / 0.8842 GB, free: 14.64 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003621/0.6758, allocations: 1.457 MB / 0.8856 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6758, allocations: 8.031 kB / 0.8856 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.6776, allocations: 234.8 kB / 0.8858 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.6786, allocations: 0.5876 MB / 0.8864 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.6787, allocations: 40.98 kB / 0.8864 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.6788, allocations: 55.91 kB / 0.8865 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.6804, allocations: 0.9659 MB / 0.8874 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.6804, allocations: 4 kB / 0.8874 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.6805, allocations: 20 kB / 0.8875 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.329e-05/0.6806, allocations: 39.86 kB / 0.8875 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.6821, allocations: 0.9329 MB / 0.8884 GB, free: 10.14 MB / 0.6544 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.005369/0.6875, allocations: 4.259 MB / 0.8926 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009493/0.6885, allocations: 0.5995 MB / 0.8932 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007653/0.6893, allocations: 0.5175 MB / 0.8937 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000999/0.6903, allocations: 0.8744 MB / 0.8945 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.6903, allocations: 42.92 kB / 0.8946 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00153/0.6919, allocations: 423.2 kB / 0.895 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 6.542e-06/0.6919, allocations: 4 kB / 0.895 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.01795/0.7098, allocations: 3.829 MB / 0.8987 GB, free: 15.18 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.7099, allocations: 63.83 kB / 0.8988 GB, free: 15.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.7109, allocations: 0.7077 MB / 0.8995 GB, free: 14.38 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.7111, allocations: 33.7 kB / 0.8995 GB, free: 14.34 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.7113, allocations: 324.6 kB / 0.8998 GB, free: 14.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.7116, allocations: 173.4 kB / 0.9 GB, free: 13.85 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.7118, allocations: 150.1 kB / 0.9001 GB, free: 13.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.712, allocations: 333.9 kB / 0.9004 GB, free: 13.37 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.7126, allocations: 400.8 kB / 0.9008 GB, free: 12.97 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007471/0.7134, allocations: 485.5 kB / 0.9013 GB, free: 12.47 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.7149, allocations: 0.918 MB / 0.9022 GB, free: 11.53 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7149, allocations: 0 / 0.9022 GB, free: 11.53 MB / 0.67 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01143/0.7263, allocations: 2.564 MB / 0.9047 GB, free: 8.949 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.7264, allocations: 4 kB / 0.9047 GB, free: 8.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.7264, allocations: 4 kB / 0.9047 GB, free: 8.941 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00966/0.7361, allocations: 1.732 MB / 0.9064 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.7366, allocations: 95.81 kB / 0.9065 GB, free: 7.109 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.7494, allocations: 7.145 MB / 0.9134 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008986/0.7503, allocations: 20.05 kB / 0.9135 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.7505, allocations: 51.92 kB / 0.9135 GB, free: 15.6 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000459/0.751, allocations: 206.8 kB / 0.9137 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.7512, allocations: 79.06 kB / 0.9138 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005195/0.7564, allocations: 1.734 MB / 0.9155 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.7565, allocations: 19.86 kB / 0.9155 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.7565, allocations: 4 kB / 0.9155 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.7565, allocations: 4.234 kB / 0.9155 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006127/0.7627, allocations: 2.54 MB / 0.918 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.7627, allocations: 4 kB / 0.918 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.7631, allocations: 87.89 kB / 0.9181 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003703/0.7669, allocations: 0.8098 MB / 0.9189 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.7669, allocations: 12 kB / 0.9189 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006855/0.7738, allocations: 4.859 MB / 0.9236 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7738, allocations: 0 / 0.9236 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005391/0.7792, allocations: 2.143 MB / 0.9257 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000513/0.7798, allocations: 232 kB / 0.9259 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.78, allocations: 16 kB / 0.9259 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/0.7807, allocations: 19.98 kB / 0.926 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.7809, allocations: 56.52 kB / 0.926 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.7809, allocations: 20 kB / 0.926 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006325/0.7816, allocations: 0.499 MB / 0.9265 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.352e-06/0.7816, allocations: 0 / 0.9265 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009756/0.7826, allocations: 291.7 kB / 0.9268 GB, free: 1.543 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005071/0.7831, allocations: 229.7 kB / 0.927 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003657/0.7867, allocations: 1.527 MB / 0.9285 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7868, allocations: 0 / 0.9285 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.7886, allocations: 0.9109 MB / 0.9294 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.7908, allocations: 454.4 kB / 0.9298 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.7938, allocations: 1.784 MB / 0.9316 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.7944, allocations: 0.9867 MB / 0.9325 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.7947, allocations: 71.41 kB / 0.9326 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of SimCode: time 5.31e-07/0.7947, allocations: 0 / 0.9326 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of Templates: time 0.02575/0.8204, allocations: 19.3 MB / 0.9515 GB, free: 8.312 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)