Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.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.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",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.0457/0.0457, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.04625/0.04625, allocations: 187.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 15.91/15.91, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.002439, allocations: 283.1 kB / 290.3 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 169.2 MB / 0.4978 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 91.7 kB / 0.5948 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2126, allocations: 86.98 MB / 0.6797 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.8302/1.043, allocations: 215.7 MB / 0.8904 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03443/1.077, allocations: 20.33 MB / 0.9102 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004745/1.082, allocations: 50.09 kB / 0.9103 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004208/1.086, allocations: 1.127 MB / 0.9114 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0149/1.101, allocations: 3.83 MB / 0.9151 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005202/1.107, allocations: 1.415 MB / 0.9165 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01024/1.117, allocations: 6.959 MB / 0.9233 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004292/1.121, allocations: 2.321 MB / 0.9255 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005524/1.127, allocations: 2.395 MB / 0.9279 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005827/1.133, allocations: 2.622 MB / 0.9304 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001438/1.134, allocations: 340 kB / 0.9308 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00937/1.143, allocations: 3.624 MB / 0.9343 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00272/1.146, allocations: 1.454 MB / 0.9357 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00524/1.151, allocations: 1.871 MB / 0.9376 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0131/1.165, allocations: 5.96 MB / 0.9434 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.165, allocations: 0 / 0.9434 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.619e-06/1.165, allocations: 4 kB / 0.9434 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002145/1.165, allocations: 0 / 0.9434 GB, free: 9.426 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01186/1.177, allocations: 3.938 MB / 0.9472 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.177, allocations: 12.03 kB / 0.9472 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005934/1.177, allocations: 392.4 kB / 0.9476 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004923/1.182, allocations: 0.8274 MB / 0.9484 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/1.186, allocations: 1.879 MB / 0.9503 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/1.186, allocations: 201.4 kB / 0.9504 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000596/1.187, allocations: 268 kB / 0.9507 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006081/1.193, allocations: 3.287 MB / 0.9539 GB, free: 14.46 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.937e-05/1.193, allocations: 11.78 kB / 0.9539 GB, free: 14.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/1.193, allocations: 116 kB / 0.954 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/1.193, allocations: 123.4 kB / 0.9541 GB, free: 14.22 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007124/1.2, allocations: 4.623 MB / 0.9587 GB, free: 9.582 MB / 0.67 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.01659/1.217, allocations: 10.87 MB / 0.9693 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006156/1.223, allocations: 4.86 MB / 0.974 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003654/1.227, allocations: 2.524 MB / 0.9765 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/1.228, allocations: 0.8604 MB / 0.9773 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.449e-05/1.228, allocations: 81.62 kB / 0.9774 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=399): time 5.079e-06/1.228, allocations: 0 / 0.9774 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=399): time 0.009789/1.238, allocations: 6.019 MB / 0.9833 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/1.238, allocations: 94.53 kB / 0.9834 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/1.24, allocations: 1.236 MB / 0.9846 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000328/1.24, allocations: 97.7 kB / 0.9847 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/1.241, allocations: 0.8095 MB / 0.9855 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/1.242, allocations: 1.336 MB / 0.9868 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008234/1.243, allocations: 0.5468 MB / 0.9873 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/1.243, allocations: 305.1 kB / 0.9876 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/1.246, allocations: 1.599 MB / 0.9892 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/1.248, allocations: 1.913 MB / 0.991 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005335/1.254, allocations: 3.831 MB / 0.9948 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.254, allocations: 4 kB / 0.9948 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006458/1.26, allocations: 4.188 MB / 0.9989 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/1.26, allocations: 15.88 kB / 0.9989 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.26, allocations: 4 kB / 0.9989 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.38e-05/1.26, allocations: 16 kB / 0.9989 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/1.263, allocations: 0.6749 MB / 0.9996 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.784e-05/1.263, allocations: 24.23 kB / 0.9996 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/1.266, allocations: 405.1 kB / 1 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/1.266, allocations: 117.1 kB / 1 GB, free: 14 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001334/1.268, allocations: 0.7203 MB / 1.001 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006491/1.268, allocations: 245 kB / 1.001 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007157/1.275, allocations: 4.648 MB / 1.006 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/1.275, allocations: 40 kB / 1.006 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.276, allocations: 0 / 1.006 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00558/1.281, allocations: 3.954 MB / 1.009 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/1.293, allocations: 8.28 MB / 1.018 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.293, allocations: 0 / 1.018 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002741/1.295, allocations: 0.6593 MB / 1.018 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/1.296, allocations: 142.4 kB / 1.018 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/1.296, allocations: 87.97 kB / 1.018 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/1.299, allocations: 5.032 MB / 1.023 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.299, allocations: 0 / 1.023 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008815/1.308, allocations: 6.822 MB / 1.03 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.31, allocations: 0.7589 MB / 1.031 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003285/1.31, allocations: 72.14 kB / 1.031 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/1.312, allocations: 217.9 kB / 1.031 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/1.312, allocations: 218.8 kB / 1.031 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002187/1.313, allocations: 112 kB / 1.031 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001119/1.314, allocations: 0.8645 MB / 1.032 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/1.314, allocations: 4 kB / 1.032 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002658/1.317, allocations: 1.096 MB / 1.033 GB, free: 11.34 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * 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): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01129/1.328, allocations: 7.607 MB / 1.041 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02196/1.35, allocations: 11.49 MB / 1.052 GB, free: 8.16 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.35, allocations: 4 kB / 1.052 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003361/1.353, allocations: 2.544 MB / 1.054 GB, free: 5.574 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/1.358, allocations: 1.078 MB / 1.055 GB, free: 4.52 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3064/1.665, allocations: 26.06 MB / 1.081 GB, free: 282.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002608/1.667, allocations: 1.942 MB / 1.083 GB, free: 281.4 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004884/1.672, allocations: 1.226 MB / 1.084 GB, free: 281.4 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/1.674, allocations: 1.088 MB / 1.085 GB, free: 280.6 MB / 0.7637 GB Notification: Performance of SimCode: time 1.814e-06/1.674, allocations: 0 / 1.085 GB, free: 280.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/1.804, allocations: 65.9 MB / 1.149 GB, free: 228.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/1.804, allocations: 234.5 kB / 1.15 GB, free: 228.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.791/5.595, allocations: 4.062 kB / 1.15 GB, free: 228.2 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)