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.00117/0.00117, allocations: 108 kB / 15.6 MB, free: 132 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.001199/0.001199, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002279/0.002279, allocations: 291 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9894/0.9894, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 98.72 kB / 0.5953 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1559, allocations: 86.97 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.5482/0.7042, allocations: 218.2 MB / 0.8933 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02775/0.732, allocations: 26.47 MB / 0.9192 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.7336, allocations: 35.81 kB / 0.9192 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.7358, allocations: 1.154 MB / 0.9203 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006594/0.7424, allocations: 3.154 MB / 0.9234 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.746, allocations: 1.639 MB / 0.925 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003672/0.7496, allocations: 3.849 MB / 0.9288 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.7513, allocations: 1.453 MB / 0.9302 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003457/0.7548, allocations: 2.281 MB / 0.9324 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.7566, allocations: 1.469 MB / 0.9339 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003344/0.7569, allocations: 128 kB / 0.934 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003515/0.7605, allocations: 1.801 MB / 0.9357 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008595/0.7613, allocations: 0.8489 MB / 0.9366 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.7626, allocations: 1.181 MB / 0.9377 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.7661, allocations: 2.994 MB / 0.9407 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7661, allocations: 0 / 0.9407 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7661, allocations: 0 / 0.9407 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.06e-05/0.7661, allocations: 0 / 0.9407 GB, free: 12.48 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.00384/0.77, allocations: 2.862 MB / 0.9435 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.77, allocations: 12.03 kB / 0.9435 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001865/0.7702, allocations: 198.6 kB / 0.9437 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.7719, allocations: 444.2 kB / 0.9441 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/0.7748, allocations: 2.733 MB / 0.9467 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.7749, allocations: 95.09 kB / 0.9468 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.775, allocations: 132 kB / 0.947 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.7771, allocations: 1.596 MB / 0.9485 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.7771, allocations: 11.84 kB / 0.9485 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.018e-05/0.7772, allocations: 52 kB / 0.9486 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.924e-05/0.7774, allocations: 89.95 kB / 0.9487 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.779, allocations: 1.062 MB / 0.9497 GB, free: 2.926 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.007216/0.7862, allocations: 8.499 MB / 0.958 GB, free: 9.926 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009865/0.7872, allocations: 0.7272 MB / 0.9587 GB, free: 9.152 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/0.7877, allocations: 312.1 kB / 0.959 GB, free: 8.832 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005453/0.7883, allocations: 0.6051 MB / 0.9596 GB, free: 8.098 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.7883, allocations: 46.5 kB / 0.9596 GB, free: 8.043 MB / 0.67 GB Notification: Performance of pre-optimization done (n=50): time 2.946e-06/0.7883, allocations: 0 / 0.9596 GB, free: 8.043 MB / 0.67 GB Notification: Performance of matching and sorting (n=50): time 0.001715/0.79, allocations: 0.9789 MB / 0.9606 GB, free: 7.055 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.7901, allocations: 158.7 kB / 0.9608 GB, free: 6.863 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005198/0.7953, allocations: 4.694 MB / 0.9653 GB, free: 2.16 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.7954, allocations: 33.7 kB / 0.9654 GB, free: 2.121 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000811/0.7962, allocations: 1.07 MB / 0.9664 GB, free: 1.043 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.7963, allocations: 177.3 kB / 0.9666 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.7965, allocations: 98.34 kB / 0.9667 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.7966, allocations: 325.9 kB / 0.967 GB, free: 452 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.797, allocations: 217 kB / 0.9672 GB, free: 232 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.7974, allocations: 322.9 kB / 0.9675 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.7982, allocations: 0.5571 MB / 0.968 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7982, allocations: 4 kB / 0.9681 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001261/0.7995, allocations: 0.7951 MB / 0.9688 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.7995, allocations: 8 kB / 0.9688 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.7995, allocations: 7.984 kB / 0.9688 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.7996, allocations: 7.938 kB / 0.9689 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.8, allocations: 108.1 kB / 0.969 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.8, allocations: 4 kB / 0.969 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008115/0.8008, allocations: 94.8 kB / 0.969 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.8009, allocations: 20 kB / 0.9691 GB, free: 14.24 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.0006778/0.8016, allocations: 0.5456 MB / 0.9696 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/0.802, allocations: 229.1 kB / 0.9698 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.8033, allocations: 0.8054 MB / 0.9706 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.8033, allocations: 8 kB / 0.9706 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8033, allocations: 0 / 0.9706 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.8033, allocations: 3.984 kB / 0.9706 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/0.8061, allocations: 2.092 MB / 0.9727 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.8062, allocations: 7.938 kB / 0.9727 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.8066, allocations: 99.88 kB / 0.9728 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.8066, allocations: 4 kB / 0.9728 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.8067, allocations: 15.94 kB / 0.9728 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.8067, allocations: 4 kB / 0.9728 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8067, allocations: 8.188 kB / 0.9728 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.8084, allocations: 1.27 MB / 0.974 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006429/0.809, allocations: 421.9 kB / 0.9744 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/0.8093, allocations: 8 kB / 0.9744 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007272/0.8101, allocations: 23.92 kB / 0.9745 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.8102, allocations: 40.33 kB / 0.9745 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.8102, allocations: 16 kB / 0.9745 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003705/0.8139, allocations: 3.514 MB / 0.978 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8139, allocations: 0 / 0.978 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00114/0.8151, allocations: 479 kB / 0.9784 GB, free: 4.516 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.003148/0.8182, allocations: 2.262 MB / 0.9806 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.8193, allocations: 0.6038 MB / 0.9812 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8193, allocations: 0 / 0.9812 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.8198, allocations: 298.3 kB / 0.9815 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/0.8235, allocations: 0.8546 MB / 0.9823 GB, free: 0.6055 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02542/0.8489, allocations: 21.4 MB / 1.003 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.8504, allocations: 1.636 MB / 1.005 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001497/0.8519, allocations: 466.1 kB / 1.005 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.853, allocations: 0.9406 MB / 1.006 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of SimCode: time 1.122e-06/0.853, allocations: 4 kB / 1.006 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.594/3.447, allocations: 48.81 MB / 1.054 GB, free: 6.637 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/14.86, allocations: 11.94 kB / 1.054 GB, free: 6.625 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)