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.001325/0.001325, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001405/0.001405, allocations: 187 kB / 17.34 MB, free: 5.723 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002444/0.002444, allocations: 291.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9561/0.9561, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 91.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/0.5339, allocations: 86.98 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.2167/0.7506, allocations: 192.6 MB / 0.9551 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4328/1.183, allocations: 4.01 MB / 0.9591 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008193/1.184, allocations: 20.25 kB / 0.9591 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/1.186, allocations: 492.4 kB / 0.9595 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003681/1.189, allocations: 1.593 MB / 0.9611 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003432/1.193, allocations: 1.38 MB / 0.9624 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002245/1.195, allocations: 1.637 MB / 0.964 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/1.196, allocations: 0.9513 MB / 0.965 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/1.198, allocations: 0.9377 MB / 0.9659 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/1.199, allocations: 0.8511 MB / 0.9667 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/1.199, allocations: 95.97 kB / 0.9668 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/1.202, allocations: 1.311 MB / 0.9681 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003214/1.202, allocations: 357.2 kB / 0.9684 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005635/1.203, allocations: 0.5135 MB / 0.9689 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/1.205, allocations: 1.641 MB / 0.9705 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.205, allocations: 2.281 kB / 0.9705 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/1.205, allocations: 1.734 kB / 0.9705 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.331e-05/1.205, allocations: 1 kB / 0.9705 GB, free: 1.59 MB / 0.7169 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.002902/1.208, allocations: 1.445 MB / 0.972 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.208, allocations: 10.09 kB / 0.972 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/1.209, allocations: 239.6 kB / 0.9722 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/1.21, allocations: 0.6092 MB / 0.9728 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/1.21, allocations: 38.09 kB / 0.9728 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/1.21, allocations: 53.3 kB / 0.9729 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/1.212, allocations: 0.9615 MB / 0.9738 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.212, allocations: 7.906 kB / 0.9738 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.743e-05/1.212, allocations: 23.92 kB / 0.9738 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/1.212, allocations: 28.98 kB / 0.9739 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/1.213, allocations: 0.9436 MB / 0.9748 GB, free: 16.35 MB / 0.7325 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.004891/1.218, allocations: 4.258 MB / 0.9789 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/1.219, allocations: 0.5996 MB / 0.9795 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/1.22, allocations: 0.5103 MB / 0.98 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/1.221, allocations: 0.8845 MB / 0.9809 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/1.221, allocations: 38.31 kB / 0.9809 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001438/1.222, allocations: 410.6 kB / 0.9813 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 3.046e-06/1.222, allocations: 0 / 0.9813 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01734/1.24, allocations: 3.839 MB / 0.9851 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/1.24, allocations: 57.94 kB / 0.9851 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000884/1.241, allocations: 0.7062 MB / 0.9858 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/1.241, allocations: 36.86 kB / 0.9859 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/1.241, allocations: 325.3 kB / 0.9862 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/1.241, allocations: 172.7 kB / 0.9863 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/1.241, allocations: 152.8 kB / 0.9865 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.241, allocations: 334 kB / 0.9868 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/1.242, allocations: 393.7 kB / 0.9872 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/1.243, allocations: 491.4 kB / 0.9876 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/1.244, allocations: 0.9189 MB / 0.9885 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.244, allocations: 0.6875 kB / 0.9885 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01139/1.255, allocations: 2.566 MB / 0.991 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.256, allocations: 8.719 kB / 0.991 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.256, allocations: 3.156 kB / 0.9911 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009511/1.265, allocations: 1.724 MB / 0.9927 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/1.266, allocations: 99.89 kB / 0.9928 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/1.278, allocations: 7.15 MB / 0.9998 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009734/1.279, allocations: 18.06 kB / 0.9998 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/1.279, allocations: 51.25 kB / 0.9999 GB, free: 8.707 MB / 0.7325 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.0004053/1.279, allocations: 207.4 kB / 1 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/1.279, allocations: 78.31 kB / 1 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004948/1.284, allocations: 1.731 MB / 1.002 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/1.284, allocations: 8.094 kB / 1.002 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.284, allocations: 5.844 kB / 1.002 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/1.285, allocations: 7.328 kB / 1.002 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005947/1.29, allocations: 2.541 MB / 1.004 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.291, allocations: 0 / 1.004 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/1.291, allocations: 93.48 kB / 1.004 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003405/1.294, allocations: 0.7985 MB / 1.005 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-05/1.294, allocations: 16.84 kB / 1.005 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006639/1.301, allocations: 4.856 MB / 1.01 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.301, allocations: 2.406 kB / 1.01 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005367/1.307, allocations: 2.145 MB / 1.012 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/1.307, allocations: 236.2 kB / 1.012 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.307, allocations: 12.75 kB / 1.012 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006317/1.308, allocations: 22.5 kB / 1.012 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/1.308, allocations: 57.31 kB / 1.012 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/1.308, allocations: 20.25 kB / 1.012 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006696/1.309, allocations: 0.496 MB / 1.013 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.309, allocations: 3.188 kB / 1.013 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001066/1.31, allocations: 285.6 kB / 1.013 GB, free: 4.637 MB / 0.7325 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.0004903/1.31, allocations: 215.7 kB / 1.013 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003452/1.314, allocations: 1.472 MB / 1.015 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.314, allocations: 0 / 1.015 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/1.316, allocations: 0.9188 MB / 1.016 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/1.318, allocations: 459.4 kB / 1.016 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/1.321, allocations: 1.756 MB / 1.018 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/1.322, allocations: 0.9757 MB / 1.019 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/1.322, allocations: 70.97 kB / 1.019 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of SimCode: time 1.633e-06/1.322, allocations: 4 kB / 1.019 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of Templates: time 0.02498/1.347, allocations: 19.38 MB / 1.038 GB, free: 5.875 MB / 0.7481 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)