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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001202/0.001202, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 286.2 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8937/0.8937, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 92.11 kB / 0.5946 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1211, allocations: 86.98 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.4174/0.5385, allocations: 215.9 MB / 0.8903 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02573/0.5643, allocations: 26.72 MB / 0.9164 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.5657, allocations: 23.88 kB / 0.9165 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.5679, allocations: 1.023 MB / 0.9175 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00563/0.5736, allocations: 2.944 MB / 0.9203 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.5766, allocations: 1.517 MB / 0.9218 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004573/0.5812, allocations: 5.827 MB / 0.9275 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.5824, allocations: 1.236 MB / 0.9287 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.5851, allocations: 2.074 MB / 0.9307 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.5864, allocations: 1.561 MB / 0.9323 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.5866, allocations: 84 kB / 0.9323 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.5895, allocations: 2.147 MB / 0.9344 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005455/0.5901, allocations: 0.8255 MB / 0.9353 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008446/0.5909, allocations: 1.126 MB / 0.9364 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.5935, allocations: 3.091 MB / 0.9394 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5935, allocations: 0 / 0.9394 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5935, allocations: 0 / 0.9394 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.5935, allocations: 4 kB / 0.9394 GB, free: 13.63 MB / 0.6544 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.003358/0.5969, allocations: 2.866 MB / 0.9422 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.5969, allocations: 8.031 kB / 0.9422 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.5971, allocations: 202.6 kB / 0.9424 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.5986, allocations: 444.2 kB / 0.9428 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.601, allocations: 2.73 MB / 0.9455 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/0.6011, allocations: 94.53 kB / 0.9456 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.6012, allocations: 128 kB / 0.9457 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.603, allocations: 1.592 MB / 0.9472 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.6031, allocations: 15.83 kB / 0.9472 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.6032, allocations: 56 kB / 0.9473 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.678e-05/0.6033, allocations: 89.95 kB / 0.9474 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.6047, allocations: 1.061 MB / 0.9484 GB, free: 4.074 MB / 0.6544 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.005777/0.6105, allocations: 8.436 MB / 0.9567 GB, free: 11.13 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008624/0.6113, allocations: 0.7272 MB / 0.9574 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/0.6117, allocations: 308.2 kB / 0.9577 GB, free: 10.04 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004554/0.6122, allocations: 0.609 MB / 0.9583 GB, free: 9.305 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.6122, allocations: 46.48 kB / 0.9583 GB, free: 9.25 MB / 0.67 GB Notification: Performance of pre-optimization done (n=50): time 1.734e-06/0.6122, allocations: 0 / 0.9583 GB, free: 9.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=50): time 0.001411/0.6136, allocations: 0.9832 MB / 0.9593 GB, free: 8.258 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.6137, allocations: 158.2 kB / 0.9594 GB, free: 8.066 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00429/0.618, allocations: 4.69 MB / 0.964 GB, free: 3.367 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.618, allocations: 41.64 kB / 0.964 GB, free: 3.32 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006982/0.6188, allocations: 1.059 MB / 0.9651 GB, free: 2.254 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.6189, allocations: 185.3 kB / 0.9652 GB, free: 2.07 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.619, allocations: 94.25 kB / 0.9653 GB, free: 1.973 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.6191, allocations: 330 kB / 0.9656 GB, free: 1.645 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.6194, allocations: 217 kB / 0.9659 GB, free: 1.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.6198, allocations: 322.8 kB / 0.9662 GB, free: 1.086 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.6205, allocations: 0.5571 MB / 0.9667 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.6205, allocations: 4 kB / 0.9667 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001005/0.6215, allocations: 0.8031 MB / 0.9675 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.6215, allocations: 4 kB / 0.9675 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6215, allocations: 4 kB / 0.9675 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.6216, allocations: 7.938 kB / 0.9675 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.6219, allocations: 115.8 kB / 0.9676 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.6219, allocations: 4.703 kB / 0.9676 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.6227, allocations: 154.7 kB / 0.9678 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.6228, allocations: 20 kB / 0.9678 GB, free: 15.38 MB / 0.6856 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.000537/0.6233, allocations: 0.5417 MB / 0.9683 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.6236, allocations: 229.1 kB / 0.9685 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.6247, allocations: 0.81 MB / 0.9693 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.6247, allocations: 8 kB / 0.9693 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6247, allocations: 0 / 0.9693 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6247, allocations: 8.062 kB / 0.9693 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.627, allocations: 2.092 MB / 0.9714 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.627, allocations: 4 kB / 0.9714 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.6274, allocations: 99.88 kB / 0.9715 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6274, allocations: 4 kB / 0.9715 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.6274, allocations: 20 kB / 0.9715 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.6275, allocations: 3.938 kB / 0.9715 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6275, allocations: 8.188 kB / 0.9715 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.6289, allocations: 1.266 MB / 0.9728 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/0.6294, allocations: 421.9 kB / 0.9732 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.6296, allocations: 12 kB / 0.9732 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/0.6303, allocations: 83.86 kB / 0.9733 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.6304, allocations: 40.33 kB / 0.9733 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.6304, allocations: 16 kB / 0.9733 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003012/0.6335, allocations: 3.506 MB / 0.9767 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6335, allocations: 0 / 0.9767 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008669/0.6343, allocations: 479.1 kB / 0.9772 GB, free: 5.598 MB / 0.6856 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.002559/0.6369, allocations: 2.262 MB / 0.9794 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007172/0.6376, allocations: 0.5301 MB / 0.9799 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6376, allocations: 4.062 kB / 0.9799 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.638, allocations: 290.3 kB / 0.9802 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/0.6409, allocations: 0.8337 MB / 0.981 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/0.6632, allocations: 21.92 MB / 1.002 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/0.6642, allocations: 1.64 MB / 1.004 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001082/0.6653, allocations: 470.1 kB / 1.004 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008704/0.6662, allocations: 0.9445 MB / 1.005 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6662, allocations: 0 / 1.005 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.666/2.332, allocations: 47.29 MB / 1.052 GB, free: 8.828 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/2.332, allocations: 256.8 kB / 1.052 GB, free: 8.57 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.363/5.695, allocations: 0 / 1.052 GB, free: 8.57 MB / 0.7637 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)