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.00111/0.00111, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 175.4 kB / 16.58 MB, free: 6.848 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.522/1.522, allocations: 223.3 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7264/0.7264, allocations: 115.5 MB / 407.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 9.688 kB / 495.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1866, allocations: 77.54 MB / 0.5593 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.4845/0.6712, allocations: 175.3 MB / 0.7305 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005823/0.6771, allocations: 3.769 MB / 0.7342 GB, free: 4.188 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000556/0.6777, allocations: 15.94 kB / 0.7342 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.6788, allocations: 313.9 kB / 0.7345 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.6818, allocations: 1.143 MB / 0.7356 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.6845, allocations: 0.9665 MB / 0.7366 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002278/0.6868, allocations: 1.982 MB / 0.7385 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.6879, allocations: 0.8152 MB / 0.7393 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.6892, allocations: 0.8565 MB / 0.7401 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.6902, allocations: 0.8372 MB / 0.7409 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.6903, allocations: 72 kB / 0.741 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.6921, allocations: 0.7132 MB / 0.7417 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.6924, allocations: 327 kB / 0.742 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.6926, allocations: 181.3 kB / 0.7422 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.6939, allocations: 1.068 MB / 0.7432 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6939, allocations: 0 / 0.7432 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6939, allocations: 4 kB / 0.7432 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.6939, allocations: 0 / 0.7432 GB, free: 10.87 MB / 0.5606 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.002565/0.6965, allocations: 1.188 MB / 0.7444 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.6965, allocations: 8.031 kB / 0.7444 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.698, allocations: 242.7 kB / 0.7446 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009138/0.699, allocations: 0.557 MB / 0.7452 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.699, allocations: 44.94 kB / 0.7452 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.6991, allocations: 59.97 kB / 0.7453 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.7007, allocations: 0.9597 MB / 0.7462 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.7007, allocations: 4 kB / 0.7462 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.7008, allocations: 20 kB / 0.7462 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/0.7008, allocations: 31.92 kB / 0.7463 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.7024, allocations: 0.9446 MB / 0.7472 GB, free: 6.66 MB / 0.5606 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.004952/0.7074, allocations: 4.188 MB / 0.7513 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009603/0.7084, allocations: 0.5978 MB / 0.7519 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007738/0.7091, allocations: 0.5221 MB / 0.7524 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.7102, allocations: 0.8939 MB / 0.7533 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.7102, allocations: 35 kB / 0.7533 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001323/0.7115, allocations: 363.2 kB / 0.7536 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=50): time 2.916e-06/0.7115, allocations: 0 / 0.7536 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=50): time 0.01532/0.7269, allocations: 3.677 MB / 0.7572 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.7269, allocations: 59.84 kB / 0.7573 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/0.7278, allocations: 0.7154 MB / 0.758 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.41e-05/0.7279, allocations: 29.7 kB / 0.758 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.7282, allocations: 316.7 kB / 0.7583 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.7284, allocations: 181.4 kB / 0.7585 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.7284, allocations: 15.94 kB / 0.7585 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7286, allocations: 326 kB / 0.7588 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006535/0.7292, allocations: 396.9 kB / 0.7592 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/0.7299, allocations: 497.5 kB / 0.7597 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/0.7307, allocations: 444.7 kB / 0.7601 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7307, allocations: 0 / 0.7601 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.009929/0.7406, allocations: 2.482 MB / 0.7625 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.7407, allocations: 4 kB / 0.7625 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7407, allocations: 4 kB / 0.7625 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008085/0.7488, allocations: 1.554 MB / 0.764 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.7493, allocations: 95.86 kB / 0.7641 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.761, allocations: 6.528 MB / 0.7705 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/0.7619, allocations: 35.88 kB / 0.7705 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.7621, allocations: 55.88 kB / 0.7706 GB, free: 13.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004512/0.7626, allocations: 207.2 kB / 0.7708 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.7628, allocations: 83.06 kB / 0.7709 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/0.7679, allocations: 1.667 MB / 0.7725 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.7679, allocations: 8 kB / 0.7725 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.7679, allocations: 4 kB / 0.7725 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.768, allocations: 0 / 0.7725 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005763/0.7737, allocations: 2.489 MB / 0.7749 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.7738, allocations: 0 / 0.7749 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.7742, allocations: 100.9 kB / 0.775 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002949/0.7771, allocations: 0.6571 MB / 0.7757 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.7772, allocations: 16 kB / 0.7757 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006259/0.7835, allocations: 4.407 MB / 0.78 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.7835, allocations: 4 kB / 0.78 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005/0.7885, allocations: 2.077 MB / 0.782 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.789, allocations: 236 kB / 0.7823 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.7891, allocations: 23.92 kB / 0.7823 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.7897, allocations: 39.88 kB / 0.7823 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.7898, allocations: 52.44 kB / 0.7824 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.7899, allocations: 19.98 kB / 0.7824 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005996/0.7905, allocations: 499 kB / 0.7829 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7905, allocations: 4 kB / 0.7829 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009254/0.7914, allocations: 287.8 kB / 0.7831 GB, free: 0.625 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004489/0.7919, allocations: 218.2 kB / 0.7833 GB, free: 424 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.7949, allocations: 1.379 MB / 0.7847 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7949, allocations: 0 / 0.7847 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.7965, allocations: 0.8914 MB / 0.7856 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.7984, allocations: 452.7 kB / 0.786 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.8013, allocations: 1.973 MB / 0.7879 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/0.802, allocations: 0.9789 MB / 0.7889 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006879/0.8027, allocations: 166.6 kB / 0.789 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.8029, allocations: 67.42 kB / 0.7891 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.803, allocations: 4 kB / 0.7891 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of Templates: time 0.03589/0.8388, allocations: 20.82 MB / 0.8094 GB, free: 5.852 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)