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.001175/0.001175, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001091/0.001091, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002306/0.002306, allocations: 291.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9784/0.9784, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 87.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4951, allocations: 86.98 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.2177/0.7128, allocations: 192.6 MB / 0.9551 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5162/1.229, allocations: 4.009 MB / 0.9591 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/1.23, allocations: 20.34 kB / 0.9591 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/1.232, allocations: 473.7 kB / 0.9595 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004439/1.236, allocations: 1.529 MB / 0.961 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/1.24, allocations: 1.363 MB / 0.9623 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003103/1.244, allocations: 1.634 MB / 0.9639 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/1.245, allocations: 0.9497 MB / 0.9649 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/1.247, allocations: 0.9265 MB / 0.9658 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/1.248, allocations: 0.8529 MB / 0.9666 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/1.249, allocations: 94.41 kB / 0.9667 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003275/1.252, allocations: 1.311 MB / 0.968 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005486/1.253, allocations: 353.9 kB / 0.9683 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009068/1.253, allocations: 0.51 MB / 0.9688 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003723/1.257, allocations: 1.645 MB / 0.9704 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.257, allocations: 0 / 0.9704 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.607e-06/1.257, allocations: 0.875 kB / 0.9704 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.034e-05/1.257, allocations: 2.094 kB / 0.9704 GB, free: 1.586 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.003477/1.261, allocations: 1.443 MB / 0.9718 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.261, allocations: 10.81 kB / 0.9718 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/1.262, allocations: 237.6 kB / 0.9721 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000865/1.263, allocations: 0.6113 MB / 0.9727 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/1.263, allocations: 38.69 kB / 0.9727 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.263, allocations: 51.25 kB / 0.9728 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/1.265, allocations: 0.9618 MB / 0.9737 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/1.265, allocations: 6.953 kB / 0.9737 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/1.265, allocations: 27.31 kB / 0.9737 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/1.265, allocations: 25.72 kB / 0.9738 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/1.266, allocations: 0.9427 MB / 0.9747 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.004911/1.271, allocations: 4.256 MB / 0.9788 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008424/1.272, allocations: 0.6022 MB / 0.9794 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/1.273, allocations: 0.5112 MB / 0.9799 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/1.274, allocations: 0.8783 MB / 0.9808 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.274, allocations: 38.19 kB / 0.9808 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001416/1.275, allocations: 414.3 kB / 0.9812 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 3.015e-06/1.275, allocations: 3.188 kB / 0.9812 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01762/1.293, allocations: 3.837 MB / 0.985 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/1.293, allocations: 59.5 kB / 0.985 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/1.294, allocations: 0.7067 MB / 0.9857 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002322/1.294, allocations: 38.61 kB / 0.9857 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/1.294, allocations: 323.6 kB / 0.986 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/1.295, allocations: 176.8 kB / 0.9862 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/1.295, allocations: 153.8 kB / 0.9864 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.295, allocations: 328.6 kB / 0.9867 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/1.296, allocations: 398.7 kB / 0.9871 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/1.296, allocations: 489.8 kB / 0.9875 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/1.298, allocations: 0.92 MB / 0.9884 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.298, allocations: 4.969 kB / 0.9884 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01141/1.309, allocations: 2.562 MB / 0.9909 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/1.309, allocations: 9.312 kB / 0.9909 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.309, allocations: 2.438 kB / 0.9909 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009573/1.319, allocations: 1.724 MB / 0.9926 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/1.319, allocations: 93.81 kB / 0.9927 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/1.332, allocations: 7.149 MB / 0.9997 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.333, allocations: 18.36 kB / 0.9997 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.333, allocations: 48.36 kB / 0.9998 GB, free: 8.711 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.0004537/1.334, allocations: 210.2 kB / 1 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/1.334, allocations: 79.62 kB / 1 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004952/1.339, allocations: 1.729 MB / 1.002 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.339, allocations: 8.484 kB / 1.002 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.339, allocations: 7.312 kB / 1.002 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/1.339, allocations: 7.422 kB / 1.002 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006048/1.345, allocations: 2.543 MB / 1.004 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.345, allocations: 2.312 kB / 1.004 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/1.345, allocations: 89.69 kB / 1.004 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/1.349, allocations: 0.8012 MB / 1.005 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.349, allocations: 15.75 kB / 1.005 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006835/1.356, allocations: 4.852 MB / 1.01 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.356, allocations: 2.094 kB / 1.01 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/1.361, allocations: 2.142 MB / 1.012 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000686/1.362, allocations: 235.8 kB / 1.012 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/1.362, allocations: 15.55 kB / 1.012 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008622/1.363, allocations: 24.22 kB / 1.012 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/1.363, allocations: 60.03 kB / 1.012 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/1.364, allocations: 19.66 kB / 1.012 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009093/1.364, allocations: 0.5049 MB / 1.013 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.42e-07/1.364, allocations: 0 / 1.013 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001427/1.366, allocations: 282.3 kB / 1.013 GB, free: 4.633 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.000652/1.367, allocations: 225 kB / 1.013 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003823/1.37, allocations: 1.458 MB / 1.015 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.37, allocations: 4.062 kB / 1.015 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/1.372, allocations: 0.9149 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.002693/1.375, allocations: 462.1 kB / 1.016 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/1.379, allocations: 1.748 MB / 1.018 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007845/1.379, allocations: 0.9773 MB / 1.019 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/1.38, allocations: 73.59 kB / 1.019 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/1.38, allocations: 0 / 1.019 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of Templates: time 0.03172/1.412, allocations: 19.38 MB / 1.038 GB, free: 5.934 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)