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.001768/0.001768, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.001175/0.001175, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.595/1.595, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00231/0.00231, allocations: 285.9 kB / 291.4 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 1.128/1.128, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 95.12 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2891, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.947/1.236, allocations: 192.6 MB / 0.8697 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008033/1.244, allocations: 4.021 MB / 0.8736 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/1.246, allocations: 19.94 kB / 0.8736 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/1.248, allocations: 473 kB / 0.8741 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/1.253, allocations: 1.536 MB / 0.8756 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004594/1.258, allocations: 1.348 MB / 0.8769 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003456/1.261, allocations: 1.639 MB / 0.8785 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/1.263, allocations: 0.9468 MB / 0.8794 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/1.265, allocations: 0.9228 MB / 0.8803 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/1.267, allocations: 0.8526 MB / 0.8812 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/1.267, allocations: 96 kB / 0.8813 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/1.27, allocations: 1.313 MB / 0.8825 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/1.271, allocations: 351 kB / 0.8829 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007193/1.271, allocations: 0.5094 MB / 0.8834 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00327/1.275, allocations: 1.632 MB / 0.885 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/1.275, allocations: 4 kB / 0.885 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.475e-06/1.275, allocations: 0 / 0.885 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.514e-05/1.275, allocations: 0 / 0.885 GB, free: 14.06 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.003293/1.278, allocations: 1.445 MB / 0.8864 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/1.278, allocations: 12.03 kB / 0.8864 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/1.28, allocations: 250.7 kB / 0.8866 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/1.281, allocations: 0.6032 MB / 0.8872 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/1.281, allocations: 41 kB / 0.8873 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/1.281, allocations: 51.91 kB / 0.8873 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/1.283, allocations: 0.957 MB / 0.8882 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/1.283, allocations: 7.922 kB / 0.8883 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/1.283, allocations: 31.98 kB / 0.8883 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/1.283, allocations: 29.06 kB / 0.8883 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.284, allocations: 0.9406 MB / 0.8892 GB, free: 9.535 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.005802/1.29, allocations: 4.247 MB / 0.8934 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009992/1.291, allocations: 0.5977 MB / 0.894 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007547/1.292, allocations: 0.5175 MB / 0.8945 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/1.293, allocations: 0.8744 MB / 0.8953 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/1.293, allocations: 39 kB / 0.8954 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00143/1.295, allocations: 419.2 kB / 0.8958 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 3.637e-06/1.295, allocations: 0 / 0.8958 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.01654/1.311, allocations: 3.845 MB / 0.8995 GB, free: 14.58 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.311, allocations: 55.84 kB / 0.8996 GB, free: 14.51 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/1.312, allocations: 0.7116 MB / 0.9003 GB, free: 13.79 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/1.312, allocations: 37.7 kB / 0.9003 GB, free: 13.75 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/1.313, allocations: 320.6 kB / 0.9006 GB, free: 13.43 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/1.313, allocations: 173.4 kB / 0.9008 GB, free: 13.26 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/1.313, allocations: 150.1 kB / 0.9009 GB, free: 13.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.313, allocations: 326 kB / 0.9012 GB, free: 12.78 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006615/1.314, allocations: 400.9 kB / 0.9016 GB, free: 12.39 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007665/1.315, allocations: 485.5 kB / 0.9021 GB, free: 11.89 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/1.316, allocations: 0.9215 MB / 0.903 GB, free: 10.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.316, allocations: 0 / 0.903 GB, free: 10.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01083/1.327, allocations: 2.56 MB / 0.9055 GB, free: 8.367 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/1.327, allocations: 8 kB / 0.9055 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/1.327, allocations: 128 / 0.9055 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009275/1.337, allocations: 1.737 MB / 0.9072 GB, free: 6.613 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/1.337, allocations: 91.88 kB / 0.9073 GB, free: 6.523 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.35, allocations: 7.145 MB / 0.9142 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.351, allocations: 23.98 kB / 0.9143 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/1.351, allocations: 43.94 kB / 0.9143 GB, free: 15.02 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.0004869/1.352, allocations: 209.7 kB / 0.9145 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/1.352, allocations: 79.06 kB / 0.9146 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004926/1.357, allocations: 1.747 MB / 0.9163 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.357, allocations: 7.938 kB / 0.9163 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.357, allocations: 4 kB / 0.9163 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.357, allocations: 3.984 kB / 0.9163 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005945/1.363, allocations: 2.532 MB / 0.9188 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.363, allocations: 4.875 kB / 0.9188 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/1.363, allocations: 91.88 kB / 0.9189 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003287/1.367, allocations: 0.794 MB / 0.9196 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/1.367, allocations: 19.94 kB / 0.9197 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006812/1.374, allocations: 4.855 MB / 0.9244 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.374, allocations: 4 kB / 0.9244 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005326/1.379, allocations: 2.147 MB / 0.9265 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/1.38, allocations: 232 kB / 0.9267 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.38, allocations: 12 kB / 0.9267 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005687/1.38, allocations: 31.97 kB / 0.9268 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/1.381, allocations: 48.38 kB / 0.9268 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/1.381, allocations: 20 kB / 0.9268 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006867/1.381, allocations: 0.5029 MB / 0.9273 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/1.381, allocations: 0 / 0.9273 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001178/1.382, allocations: 283.8 kB / 0.9276 GB, free: 0.9727 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.000675/1.383, allocations: 216.5 kB / 0.9278 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003574/1.387, allocations: 1.464 MB / 0.9292 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.387, allocations: 0 / 0.9292 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/1.389, allocations: 0.9265 MB / 0.9301 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/1.39, allocations: 457 kB / 0.9306 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/1.394, allocations: 1.721 MB / 0.9322 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/1.394, allocations: 0.9828 MB / 0.9332 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000601/1.395, allocations: 162.6 kB / 0.9334 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/1.395, allocations: 67.42 kB / 0.9334 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of SimCode: time 1.042e-06/1.395, allocations: 0 / 0.9334 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of Templates: time 0.03892/1.434, allocations: 22.62 MB / 0.9555 GB, free: 4.535 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)