Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.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.Validation.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") translateModel(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 103.3 kB / 16.27 MB, free: 5.973 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.001222/0.001222, allocations: 187.8 kB / 17.19 MB, free: 5.613 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002639/0.002639, allocations: 274.4 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.185/1.185, allocations: 178.5 MB / 0.5079 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 103.8 kB / 0.6071 GB, free: 9.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.189, allocations: 89.13 MB / 0.6941 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.5055/0.6945, allocations: 218.2 MB / 0.9072 GB, free: 15.9 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03275/0.7273, allocations: 26.46 MB / 0.933 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.7293, allocations: 31.81 kB / 0.9331 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00299/0.7323, allocations: 1.158 MB / 0.9342 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008086/0.7404, allocations: 3.132 MB / 0.9373 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.7451, allocations: 1.65 MB / 0.9389 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006106/0.7512, allocations: 3.845 MB / 0.9426 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.7543, allocations: 1.452 MB / 0.9441 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006131/0.7605, allocations: 2.277 MB / 0.9463 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.7634, allocations: 1.474 MB / 0.9477 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.7639, allocations: 124 kB / 0.9478 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004724/0.7686, allocations: 1.773 MB / 0.9496 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.7698, allocations: 0.8451 MB / 0.9504 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.7717, allocations: 1.15 MB / 0.9515 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005659/0.7774, allocations: 2.901 MB / 0.9543 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.7774, allocations: 0 / 0.9543 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7774, allocations: 3.938 kB / 0.9543 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.969e-05/0.7775, allocations: 0 / 0.9543 GB, free: 15.48 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005079/0.7826, allocations: 2.775 MB / 0.9571 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.7827, allocations: 8.031 kB / 0.9571 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.7845, allocations: 436.4 kB / 0.9575 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002879/0.7874, allocations: 1.467 MB / 0.9589 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-05/0.7876, allocations: 102.5 kB / 0.959 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.7878, allocations: 127.9 kB / 0.9591 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/0.7904, allocations: 1.599 MB / 0.9607 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/0.7904, allocations: 7.938 kB / 0.9607 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.7905, allocations: 59.98 kB / 0.9608 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.7907, allocations: 89.91 kB / 0.9608 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.7925, allocations: 1.062 MB / 0.9619 GB, free: 7.48 MB / 0.7169 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.01046/0.803, allocations: 8.143 MB / 0.9698 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.8043, allocations: 0.7356 MB / 0.9706 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.8048, allocations: 304.1 kB / 0.9708 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006333/0.8055, allocations: 0.613 MB / 0.9714 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.8055, allocations: 42.5 kB / 0.9715 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 2.945e-06/0.8055, allocations: 0 / 0.9715 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.002136/0.8077, allocations: 0.9638 MB / 0.9724 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.8078, allocations: 166.2 kB / 0.9726 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004741/0.8125, allocations: 3.096 MB / 0.9756 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.8127, allocations: 37.7 kB / 0.9756 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.8137, allocations: 1.035 MB / 0.9767 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.8139, allocations: 181.3 kB / 0.9768 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.8141, allocations: 102.3 kB / 0.9769 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.8143, allocations: 326 kB / 0.9772 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.8147, allocations: 213.9 kB / 0.9774 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.8152, allocations: 322.9 kB / 0.9777 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/0.8161, allocations: 0.5532 MB / 0.9783 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.8161, allocations: 4 kB / 0.9783 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001573/0.8177, allocations: 0.7953 MB / 0.9791 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.8177, allocations: 4 kB / 0.9791 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.8177, allocations: 4 kB / 0.9791 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.8178, allocations: 7.938 kB / 0.9791 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.8182, allocations: 115.8 kB / 0.9792 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.8182, allocations: 4 kB / 0.9792 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/0.8191, allocations: 82.95 kB / 0.9793 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.8191, allocations: 20 kB / 0.9793 GB, free: 4.789 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008708/0.82, allocations: 0.5444 MB / 0.9798 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004128/0.8204, allocations: 221.2 kB / 0.98 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.8218, allocations: 0.7975 MB / 0.9808 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.8218, allocations: 11.94 kB / 0.9808 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.8218, allocations: 4 kB / 0.9808 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.8218, allocations: 7.984 kB / 0.9808 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.8249, allocations: 2.024 MB / 0.9828 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.8249, allocations: 0 / 0.9828 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.8254, allocations: 99.83 kB / 0.9829 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.8254, allocations: 8 kB / 0.9829 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.8254, allocations: 12.09 kB / 0.9829 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.8255, allocations: 7.984 kB / 0.9829 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.8255, allocations: 0 / 0.9829 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3554/1.181, allocations: 1.265 MB / 0.9842 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008777/1.182, allocations: 388 kB / 0.9845 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/1.182, allocations: 13.31 kB / 0.9846 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008453/1.183, allocations: 18.86 kB / 0.9846 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.183, allocations: 39.17 kB / 0.9846 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/1.183, allocations: 18.72 kB / 0.9846 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003123/1.186, allocations: 2.217 MB / 0.9868 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/1.186, allocations: 1.094 kB / 0.9868 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001243/1.188, allocations: 462.3 kB / 0.9872 GB, free: 125.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/1.189, allocations: 0.5225 MB / 0.9877 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0012/1.191, allocations: 0.6098 MB / 0.9883 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.191, allocations: 0 / 0.9883 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004542/1.191, allocations: 296.7 kB / 0.9886 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/1.195, allocations: 0.8625 MB / 0.9895 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/1.201, allocations: 4.297 MB / 0.9937 GB, free: 124.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/1.203, allocations: 1.618 MB / 0.9952 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/1.203, allocations: 146.6 kB / 0.9954 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/1.203, allocations: 0.8438 kB / 0.9954 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.05288/1.256, allocations: 33.07 MB / 1.028 GB, free: 114.1 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)