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.01043/0.01043, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.002115/0.002115, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.573/1.573, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002342/0.002342, allocations: 279 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 95.86 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2202, allocations: 86.97 MB / 0.7664 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.7342/0.9544, allocations: 192.6 MB / 0.9545 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007362/0.9619, allocations: 4.022 MB / 0.9584 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.9632, allocations: 19.88 kB / 0.9584 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.9649, allocations: 489 kB / 0.9589 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004824/0.9698, allocations: 1.606 MB / 0.9605 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004539/0.9743, allocations: 1.361 MB / 0.9618 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002924/0.9772, allocations: 1.636 MB / 0.9634 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.9789, allocations: 0.9587 MB / 0.9643 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.9811, allocations: 0.9384 MB / 0.9652 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.9828, allocations: 0.8566 MB / 0.9661 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004115/0.9832, allocations: 96 kB / 0.9662 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.9864, allocations: 1.313 MB / 0.9674 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005871/0.987, allocations: 347 kB / 0.9678 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.9881, allocations: 0.5133 MB / 0.9683 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.9916, allocations: 1.635 MB / 0.9699 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9917, allocations: 4 kB / 0.9699 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.689e-06/0.9917, allocations: 4 kB / 0.9699 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.084e-05/0.9917, allocations: 0 / 0.9699 GB, free: 2.184 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.003307/0.995, allocations: 1.449 MB / 0.9713 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.9951, allocations: 8.031 kB / 0.9713 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.9966, allocations: 238.7 kB / 0.9715 GB, free: 452 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/0.9976, allocations: 0.6149 MB / 0.9721 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.9976, allocations: 37 kB / 0.9722 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.9977, allocations: 48 kB / 0.9722 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.9992, allocations: 0.9648 MB / 0.9732 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.9992, allocations: 0 / 0.9732 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/0.9993, allocations: 23.98 kB / 0.9732 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.9993, allocations: 35.92 kB / 0.9732 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/1.001, allocations: 0.9368 MB / 0.9741 GB, free: 13.67 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.005055/1.006, allocations: 4.25 MB / 0.9783 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/1.007, allocations: 0.6016 MB / 0.9789 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000743/1.008, allocations: 0.5136 MB / 0.9794 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/1.009, allocations: 0.8783 MB / 0.9802 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/1.009, allocations: 46.88 kB / 0.9803 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001351/1.01, allocations: 415.1 kB / 0.9807 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 3.466e-06/1.01, allocations: 0 / 0.9807 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.01617/1.026, allocations: 3.841 MB / 0.9844 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.026, allocations: 59.84 kB / 0.9845 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/1.027, allocations: 0.7193 MB / 0.9852 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.027, allocations: 33.7 kB / 0.9852 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/1.028, allocations: 320.6 kB / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/1.028, allocations: 173.5 kB / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/1.028, allocations: 150 kB / 0.9858 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.028, allocations: 326 kB / 0.9861 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/1.029, allocations: 396.8 kB / 0.9865 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/1.03, allocations: 485.5 kB / 0.987 GB, free: 8 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/1.031, allocations: 0.9219 MB / 0.9879 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-06/1.031, allocations: 0 / 0.9879 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01057/1.042, allocations: 2.565 MB / 0.9904 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/1.042, allocations: 8 kB / 0.9904 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.042, allocations: 0 / 0.9904 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008831/1.051, allocations: 1.726 MB / 0.9921 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/1.051, allocations: 103.8 kB / 0.9922 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/1.063, allocations: 7.132 MB / 0.9991 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009175/1.064, allocations: 16.06 kB / 0.9992 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/1.065, allocations: 49.02 kB / 0.9992 GB, free: 3.152 MB / 0.7481 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.0004181/1.065, allocations: 216.7 kB / 0.9994 GB, free: 2.934 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/1.065, allocations: 82.97 kB / 0.9995 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/1.07, allocations: 1.734 MB / 1.001 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.07, allocations: 7.938 kB / 1.001 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/1.07, allocations: 4 kB / 1.001 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.07, allocations: 3.984 kB / 1.001 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005611/1.076, allocations: 2.548 MB / 1.004 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.076, allocations: 1.125 kB / 1.004 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/1.076, allocations: 88.08 kB / 1.004 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003145/1.079, allocations: 0.8054 MB / 1.005 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/1.079, allocations: 16 kB / 1.005 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00672/1.086, allocations: 4.86 MB / 1.009 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.086, allocations: 0 / 1.009 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005103/1.091, allocations: 2.151 MB / 1.011 GB, free: 6.215 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/1.092, allocations: 228 kB / 1.012 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/1.092, allocations: 12 kB / 1.012 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/1.092, allocations: 23.98 kB / 1.012 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.092, allocations: 60.42 kB / 1.012 GB, free: 5.879 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/1.093, allocations: 19.94 kB / 1.012 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000661/1.093, allocations: 0.499 MB / 1.012 GB, free: 5.367 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.744e-06/1.093, allocations: 0 / 1.012 GB, free: 5.367 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00105/1.094, allocations: 291.7 kB / 1.013 GB, free: 5.082 MB / 0.7637 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.0005603/1.095, allocations: 215.6 kB / 1.013 GB, free: 4.871 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003425/1.098, allocations: 1.469 MB / 1.014 GB, free: 3.367 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.098, allocations: 0 / 1.014 GB, free: 3.367 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/1.1, allocations: 0.9069 MB / 1.015 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/1.102, allocations: 462.8 kB / 1.015 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/1.105, allocations: 1.705 MB / 1.017 GB, free: 264 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/1.105, allocations: 0.9789 MB / 1.018 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005314/1.106, allocations: 170.6 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/1.106, allocations: 67.42 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/1.106, allocations: 0 / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of Templates: time 0.03929/1.145, allocations: 22.77 MB / 1.041 GB, free: 8.512 MB / 0.795 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)