Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.01001/0.01001, allocations: 101.3 kB / 15.88 MB, free: 6.312 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.001677/0.001677, allocations: 196.6 kB / 16.79 MB, free: 6.242 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.629/1.629, allocations: 222.9 MB / 240.5 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7465/0.7465, allocations: 122.9 MB / 413.5 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 71.89 kB / 0.4904 GB, free: 7.918 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3963, allocations: 77.92 MB / 0.5665 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.6929/1.089, allocations: 190.4 MB / 0.7524 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009572/1.099, allocations: 4.061 MB / 0.7564 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/1.1, allocations: 17.88 kB / 0.7564 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/1.102, allocations: 402.5 kB / 0.7568 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005331/1.108, allocations: 1.44 MB / 0.7582 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004251/1.112, allocations: 1.249 MB / 0.7594 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004357/1.116, allocations: 2.341 MB / 0.7617 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/1.118, allocations: 0.8795 MB / 0.7625 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/1.12, allocations: 0.8623 MB / 0.7634 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/1.121, allocations: 0.878 MB / 0.7642 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/1.121, allocations: 77.22 kB / 0.7643 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/1.125, allocations: 1.576 MB / 0.7659 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003966/1.125, allocations: 336.8 kB / 0.7662 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007141/1.126, allocations: 0.4903 MB / 0.7667 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002649/1.129, allocations: 1.706 MB / 0.7683 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.129, allocations: 4.75 kB / 0.7683 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/1.129, allocations: 0 / 0.7683 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.503e-05/1.129, allocations: 1.031 kB / 0.7683 GB, free: 1.445 MB / 0.5762 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.003319/1.132, allocations: 1.446 MB / 0.7697 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/1.132, allocations: 9.938 kB / 0.7697 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/1.134, allocations: 242.8 kB / 0.77 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008591/1.135, allocations: 0.579 MB / 0.7705 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/1.135, allocations: 39.44 kB / 0.7706 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/1.135, allocations: 54.23 kB / 0.7706 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/1.136, allocations: 0.9681 MB / 0.7716 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/1.137, allocations: 5.5 kB / 0.7716 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/1.137, allocations: 23.78 kB / 0.7716 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.588e-05/1.137, allocations: 32.75 kB / 0.7716 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/1.138, allocations: 0.9364 MB / 0.7726 GB, free: 16.16 MB / 0.5919 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.005013/1.143, allocations: 4.264 MB / 0.7767 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/1.144, allocations: 0.5948 MB / 0.7773 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/1.145, allocations: 0.5148 MB / 0.7778 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009871/1.146, allocations: 0.8794 MB / 0.7787 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/1.146, allocations: 40.91 kB / 0.7787 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00154/1.147, allocations: 444.9 kB / 0.7791 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.525e-06/1.147, allocations: 0 / 0.7791 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01707/1.165, allocations: 3.832 MB / 0.7829 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/1.165, allocations: 63.81 kB / 0.7829 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/1.166, allocations: 0.7124 MB / 0.7836 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002641/1.166, allocations: 32.7 kB / 0.7837 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/1.167, allocations: 326 kB / 0.784 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/1.167, allocations: 173.5 kB / 0.7841 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/1.167, allocations: 148.6 kB / 0.7843 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.168, allocations: 326 kB / 0.7846 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008239/1.168, allocations: 395.8 kB / 0.785 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008846/1.169, allocations: 487.5 kB / 0.7854 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/1.171, allocations: 0.9209 MB / 0.7863 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/1.171, allocations: 0 / 0.7863 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01166/1.183, allocations: 2.562 MB / 0.7888 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/1.183, allocations: 4.938 kB / 0.7888 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/1.183, allocations: 2.609 kB / 0.7888 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009829/1.193, allocations: 1.736 MB / 0.7905 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/1.193, allocations: 94.12 kB / 0.7906 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/1.205, allocations: 6.659 MB / 0.7971 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.206, allocations: 33.67 kB / 0.7972 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.207, allocations: 44.44 kB / 0.7972 GB, free: 8.438 MB / 0.5919 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.0004494/1.207, allocations: 217.3 kB / 0.7974 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/1.207, allocations: 79.81 kB / 0.7975 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004835/1.212, allocations: 1.737 MB / 0.7992 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.212, allocations: 7.688 kB / 0.7992 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.212, allocations: 6.156 kB / 0.7992 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/1.212, allocations: 3.984 kB / 0.7992 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005696/1.218, allocations: 2.548 MB / 0.8017 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.218, allocations: 0 / 0.8017 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/1.218, allocations: 92.34 kB / 0.8018 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003297/1.222, allocations: 0.8017 MB / 0.8026 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/1.222, allocations: 16.94 kB / 0.8026 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006334/1.228, allocations: 4.477 MB / 0.8069 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.228, allocations: 2.906 kB / 0.8069 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/1.233, allocations: 2.156 MB / 0.809 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006314/1.234, allocations: 233.2 kB / 0.8093 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.234, allocations: 11.14 kB / 0.8093 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005921/1.235, allocations: 30.72 kB / 0.8093 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/1.235, allocations: 49.75 kB / 0.8094 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/1.235, allocations: 24.44 kB / 0.8094 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007129/1.236, allocations: 0.4976 MB / 0.8099 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/1.236, allocations: 0.9062 kB / 0.8099 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001192/1.237, allocations: 283.5 kB / 0.8101 GB, free: 2.5 MB / 0.5919 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.000532/1.237, allocations: 226.7 kB / 0.8104 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003507/1.241, allocations: 1.453 MB / 0.8118 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.241, allocations: 8.5 kB / 0.8118 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/1.243, allocations: 0.9218 MB / 0.8127 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/1.245, allocations: 445.2 kB / 0.8131 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/1.248, allocations: 1.966 MB / 0.815 GB, free: 256 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/1.249, allocations: 0.9819 MB / 0.816 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007247/1.249, allocations: 158.6 kB / 0.8161 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/1.249, allocations: 64.95 kB / 0.8162 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of SimCode: time 1.383e-06/1.25, allocations: 4 kB / 0.8162 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of Templates: time 0.03643/1.286, allocations: 21.66 MB / 0.8374 GB, free: 11.9 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)