Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_IDEAS_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.007832/0.007832, allocations: 97.25 kB / 15.73 MB, free: 6.039 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.001739/0.001739, allocations: 204.6 kB / 16.68 MB, free: 5.961 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.588/1.588, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8232/0.8232, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 75.72 kB / 0.5809 GB, free: 1.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2133, allocations: 80.21 MB / 0.6592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ClosedDoors): time 0.8467/1.06, allocations: 218.5 MB / 0.8725 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02669/1.087, allocations: 20.43 MB / 0.8925 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004528/1.091, allocations: 56.75 kB / 0.8925 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00406/1.095, allocations: 1.243 MB / 0.8938 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01292/1.109, allocations: 4.086 MB / 0.8978 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005112/1.114, allocations: 1.539 MB / 0.8993 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01108/1.125, allocations: 6.989 MB / 0.9061 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004492/1.129, allocations: 2.366 MB / 0.9084 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006333/1.136, allocations: 2.368 MB / 0.9107 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006339/1.142, allocations: 2.446 MB / 0.9131 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001354/1.143, allocations: 340.5 kB / 0.9134 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/1.154, allocations: 3.471 MB / 0.9168 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003065/1.157, allocations: 1.447 MB / 0.9182 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006318/1.164, allocations: 1.867 MB / 0.92 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01594/1.18, allocations: 5.787 MB / 0.9257 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/1.18, allocations: 0 / 0.9257 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.048e-06/1.18, allocations: 0 / 0.9257 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002062/1.18, allocations: 3.938 kB / 0.9257 GB, free: 2.965 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.01315/1.193, allocations: 4.039 MB / 0.9296 GB, free: 14.89 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.193, allocations: 8.031 kB / 0.9296 GB, free: 14.88 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006726/1.194, allocations: 386.9 kB / 0.93 GB, free: 14.5 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005179/1.199, allocations: 0.8328 MB / 0.9308 GB, free: 13.67 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004887/1.204, allocations: 1.954 MB / 0.9327 GB, free: 11.76 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/1.204, allocations: 209.3 kB / 0.9329 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005837/1.205, allocations: 282.4 kB / 0.9332 GB, free: 11.28 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006465/1.211, allocations: 3.273 MB / 0.9364 GB, free: 7.977 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.346e-05/1.211, allocations: 4 kB / 0.9364 GB, free: 7.973 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002812/1.212, allocations: 111.8 kB / 0.9365 GB, free: 7.867 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/1.212, allocations: 121.4 kB / 0.9366 GB, free: 7.746 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008276/1.22, allocations: 4.608 MB / 0.9411 GB, free: 3.125 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.02152/1.242, allocations: 10.93 MB / 0.9518 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007827/1.25, allocations: 4.867 MB / 0.9566 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004909/1.254, allocations: 2.528 MB / 0.959 GB, free: 316 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/1.256, allocations: 0.8648 MB / 0.9599 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.827e-05/1.256, allocations: 85.7 kB / 0.96 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=399): time 6.092e-06/1.256, allocations: 0 / 0.96 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of matching and sorting (n=399): time 0.01271/1.269, allocations: 6.028 MB / 0.9658 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/1.269, allocations: 94.55 kB / 0.9659 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/1.271, allocations: 1.228 MB / 0.9671 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006151/1.272, allocations: 93.7 kB / 0.9672 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008168/1.273, allocations: 0.8268 MB / 0.968 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001872/1.275, allocations: 1.399 MB / 0.9694 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/1.276, allocations: 0.5547 MB / 0.9699 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.276, allocations: 305.1 kB / 0.9702 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003259/1.28, allocations: 1.599 MB / 0.9718 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/1.283, allocations: 1.922 MB / 0.9737 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007841/1.291, allocations: 3.835 MB / 0.9774 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/1.291, allocations: 0 / 0.9774 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009716/1.301, allocations: 4.194 MB / 0.9815 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/1.301, allocations: 6.5 kB / 0.9815 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.301, allocations: 4.406 kB / 0.9815 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.027e-05/1.301, allocations: 20 kB / 0.9815 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/1.305, allocations: 0.6841 MB / 0.9822 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.904e-05/1.305, allocations: 18.53 kB / 0.9822 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/1.308, allocations: 252.4 kB / 0.9825 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005047/1.308, allocations: 112 kB / 0.9826 GB, free: 7.879 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.002013/1.31, allocations: 0.7412 MB / 0.9833 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.312, allocations: 258.4 kB / 0.9835 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/1.322, allocations: 4.613 MB / 0.988 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.447e-05/1.322, allocations: 36 kB / 0.9881 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.569e-05/1.322, allocations: 7.938 kB / 0.9881 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008536/1.33, allocations: 3.956 MB / 0.9919 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/1.35, allocations: 8.251 MB / 1 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/1.35, allocations: 4 kB / 1 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003428/1.353, allocations: 0.6681 MB / 1.001 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005921/1.354, allocations: 138.5 kB / 1.001 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000651/1.355, allocations: 79.97 kB / 1.001 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/1.36, allocations: 5.088 MB / 1.006 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.36, allocations: 0 / 1.006 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/1.375, allocations: 7.03 MB / 1.013 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/1.377, allocations: 0.7759 MB / 1.013 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009189/1.378, allocations: 67.94 kB / 1.014 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/1.381, allocations: 95.34 kB / 1.014 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007363/1.381, allocations: 233.4 kB / 1.014 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004955/1.382, allocations: 108 kB / 1.014 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001677/1.384, allocations: 0.8606 MB / 1.015 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/1.384, allocations: 0 / 1.015 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004004/1.388, allocations: 1.073 MB / 1.016 GB, free: 5.332 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.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],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.01631/1.404, allocations: 7.821 MB / 1.023 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.414, allocations: 4.066 MB / 1.027 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.414, allocations: 0 / 1.027 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.005996/1.42, allocations: 2.556 MB / 1.03 GB, free: 6.949 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007148/1.427, allocations: 1.071 MB / 1.031 GB, free: 5.914 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05152/1.479, allocations: 23.07 MB / 1.054 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/1.482, allocations: 1.946 MB / 1.055 GB, free: 12.63 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005198/1.487, allocations: 1.208 MB / 1.057 GB, free: 11.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002844/1.49, allocations: 1.089 MB / 1.058 GB, free: 10.32 MB / 0.795 GB Notification: Performance of SimCode: time 1.603e-06/1.49, allocations: 0 / 1.058 GB, free: 10.32 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1961/1.686, allocations: 66.81 MB / 1.123 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/17.15, allocations: 8 kB / 1.123 GB, free: 8.305 MB / 0.8575 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)