Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.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.PressurizationData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData") translateModel(BuildingSystems.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 104.3 kB / 16.41 MB, free: 6.398 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.001434/0.001434, allocations: 195.7 kB / 17.35 MB, free: 5.695 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002263/0.002263, allocations: 284.9 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.9897/0.9897, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 91.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4292, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.1934/0.6226, allocations: 186.5 MB / 0.9492 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4285/1.051, allocations: 15.9 MB / 0.9647 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/1.053, allocations: 39.72 kB / 0.9648 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/1.055, allocations: 0.7097 MB / 0.9654 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006411/1.061, allocations: 2.268 MB / 0.9677 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004646/1.066, allocations: 1.816 MB / 0.9694 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004741/1.071, allocations: 3.506 MB / 0.9729 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003406/1.074, allocations: 1.98 MB / 0.9748 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004176/1.079, allocations: 1.533 MB / 0.9763 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002361/1.081, allocations: 1.226 MB / 0.9775 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005095/1.081, allocations: 213.8 kB / 0.9777 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004331/1.086, allocations: 1.949 MB / 0.9796 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007822/1.087, allocations: 0.6499 MB / 0.9802 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00171/1.088, allocations: 1.117 MB / 0.9813 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005796/1.094, allocations: 3.505 MB / 0.9847 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.094, allocations: 1 kB / 0.9847 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/1.094, allocations: 3.094 kB / 0.9847 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.345e-05/1.094, allocations: 1.062 kB / 0.9847 GB, free: 1.023 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: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004846/1.099, allocations: 2.536 MB / 0.9872 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.099, allocations: 8.844 kB / 0.9872 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003486/1.103, allocations: 0.5187 MB / 0.9877 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/1.105, allocations: 1.304 MB / 0.989 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.084e-05/1.105, allocations: 124.4 kB / 0.9891 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/1.106, allocations: 166.3 kB / 0.9893 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003243/1.109, allocations: 1.859 MB / 0.9911 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/1.109, allocations: 1.875 kB / 0.9911 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/1.109, allocations: 75.55 kB / 0.9912 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/1.109, allocations: 67.61 kB / 0.9912 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/1.112, allocations: 1.868 MB / 0.9931 GB, free: 15 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.008851/1.121, allocations: 6.24 MB / 0.9992 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/1.124, allocations: 1.586 MB / 1.001 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009972/1.125, allocations: 0.647 MB / 1.001 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/1.125, allocations: 0.6251 MB / 1.002 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/1.127, allocations: 0.873 MB / 1.003 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=142): time 3.066e-06/1.127, allocations: 0 / 1.003 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=142): time 0.005299/1.132, allocations: 2.332 MB / 1.005 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.527e-05/1.132, allocations: 194.5 kB / 1.005 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/1.134, allocations: 1.088 MB / 1.006 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001957/1.134, allocations: 56.36 kB / 1.006 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006914/1.135, allocations: 0.7081 MB / 1.007 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/1.135, allocations: 488.9 kB / 1.008 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004248/1.136, allocations: 255.6 kB / 1.008 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.136, allocations: 357.5 kB / 1.008 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009103/1.137, allocations: 0.4992 MB / 1.009 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/1.138, allocations: 0.6688 MB / 1.009 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/1.14, allocations: 1.177 MB / 1.01 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.14, allocations: 1.062 kB / 1.01 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003357/1.143, allocations: 1.565 MB / 1.012 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.143, allocations: 10.81 kB / 1.012 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.143, allocations: 2.562 kB / 1.012 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007747/1.144, allocations: 147 kB / 1.012 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.145, allocations: 301.8 kB / 1.012 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/1.15, allocations: 4.537 MB / 1.017 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.151, allocations: 147.7 kB / 1.017 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/1.151, allocations: 59.36 kB / 1.017 GB, free: 4.875 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009623/1.152, allocations: 418.9 kB / 1.017 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/1.153, allocations: 152.6 kB / 1.018 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004022/1.157, allocations: 1.797 MB / 1.019 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/1.157, allocations: 13.75 kB / 1.019 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.157, allocations: 2.406 kB / 1.019 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003031/1.16, allocations: 1.482 MB / 1.021 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008215/1.168, allocations: 3.505 MB / 1.024 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/1.168, allocations: 0 / 1.024 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.17, allocations: 299.8 kB / 1.024 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006515/1.17, allocations: 131.3 kB / 1.025 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/1.171, allocations: 38.09 kB / 1.025 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004333/1.175, allocations: 4.544 MB / 1.029 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.175, allocations: 1.031 kB / 1.029 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/1.181, allocations: 2.451 MB / 1.031 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/1.183, allocations: 434.1 kB / 1.032 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006204/1.183, allocations: 31.14 kB / 1.032 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.185, allocations: 88.94 kB / 1.032 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/1.186, allocations: 108.6 kB / 1.032 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/1.186, allocations: 64.56 kB / 1.032 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001437/1.187, allocations: 0.7512 MB / 1.033 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.71e-07/1.187, allocations: 0.9375 kB / 1.033 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002043/1.189, allocations: 0.629 MB / 1.034 GB, free: 14.09 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,pow_1dat.mExc,pow_1dat1.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001841/1.191, allocations: 0.7527 MB / 1.034 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003094/1.194, allocations: 1.644 MB / 1.036 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.194, allocations: 0.8125 kB / 1.036 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/1.196, allocations: 1.077 MB / 1.037 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/1.2, allocations: 0.6993 MB / 1.038 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007192/1.207, allocations: 3.533 MB / 1.041 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.208, allocations: 1.386 MB / 1.042 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007746/1.209, allocations: 175.4 kB / 1.043 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of SimCode: time 1.653e-06/1.209, allocations: 0 / 1.043 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of Templates: time 0.06011/1.269, allocations: 49.94 MB / 1.091 GB, free: 6.586 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)