Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_dev_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.005736/0.005736, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001302/0.001303, allocations: 191.7 kB / 16.67 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.2 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.89 kB / 0.5852 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4704, allocations: 80.93 MB / 0.6642 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ClosedDoors): time 0.6905/1.161, allocations: 218.5 MB / 0.8776 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02808/1.189, allocations: 20.41 MB / 0.8975 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003659/1.193, allocations: 56.19 kB / 0.8976 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004617/1.197, allocations: 1.247 MB / 0.8988 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01345/1.211, allocations: 4.078 MB / 0.9028 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005399/1.216, allocations: 1.541 MB / 0.9043 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01113/1.228, allocations: 6.961 MB / 0.9111 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004921/1.233, allocations: 2.372 MB / 0.9134 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006624/1.239, allocations: 2.371 MB / 0.9157 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00623/1.245, allocations: 2.453 MB / 0.9181 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001379/1.247, allocations: 342.5 kB / 0.9184 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009469/1.256, allocations: 3.464 MB / 0.9218 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002483/1.259, allocations: 1.453 MB / 0.9232 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00433/1.263, allocations: 1.864 MB / 0.925 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/1.275, allocations: 5.792 MB / 0.9307 GB, free: 116 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.275, allocations: 1.031 kB / 0.9307 GB, free: 116 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.414e-06/1.275, allocations: 0 / 0.9307 GB, free: 116 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002117/1.275, allocations: 0 / 0.9307 GB, free: 116 kB / 0.6856 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.01473/1.29, allocations: 4.038 MB / 0.9346 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.29, allocations: 9.812 kB / 0.9346 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008775/1.291, allocations: 388.5 kB / 0.935 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005871/1.297, allocations: 0.8409 MB / 0.9358 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005443/1.302, allocations: 1.942 MB / 0.9377 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/1.303, allocations: 209.5 kB / 0.9379 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/1.304, allocations: 269.1 kB / 0.9382 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00746/1.311, allocations: 3.281 MB / 0.9414 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.786e-05/1.311, allocations: 1.25 kB / 0.9414 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003068/1.312, allocations: 109.9 kB / 0.9415 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/1.312, allocations: 121.3 kB / 0.9416 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00769/1.319, allocations: 4.616 MB / 0.9461 GB, free: 12.64 MB / 0.7012 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.01966/1.339, allocations: 10.94 MB / 0.9568 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007273/1.346, allocations: 4.854 MB / 0.9615 GB, free: 412 kB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004802/1.351, allocations: 2.528 MB / 0.964 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/1.353, allocations: 0.866 MB / 0.9649 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.219e-05/1.353, allocations: 85.64 kB / 0.9649 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=399): time 5.169e-06/1.353, allocations: 0 / 0.9649 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of matching and sorting (n=399): time 0.01146/1.364, allocations: 6.023 MB / 0.9708 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/1.364, allocations: 101.6 kB / 0.9709 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/1.366, allocations: 1.228 MB / 0.9721 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004449/1.367, allocations: 93.7 kB / 0.9722 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007576/1.368, allocations: 0.8338 MB / 0.973 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/1.369, allocations: 1.392 MB / 0.9744 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009486/1.37, allocations: 0.5509 MB / 0.9749 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.37, allocations: 309.1 kB / 0.9752 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002683/1.373, allocations: 1.599 MB / 0.9768 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/1.376, allocations: 1.919 MB / 0.9787 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00619/1.382, allocations: 3.83 MB / 0.9824 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.382, allocations: 4 kB / 0.9824 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007529/1.39, allocations: 4.199 MB / 0.9865 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/1.39, allocations: 4 kB / 0.9865 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/1.39, allocations: 4.406 kB / 0.9865 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.654e-05/1.39, allocations: 20 kB / 0.9865 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/1.393, allocations: 0.6909 MB / 0.9872 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.396e-05/1.393, allocations: 16 kB / 0.9872 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/1.396, allocations: 253.4 kB / 0.9875 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/1.396, allocations: 112 kB / 0.9876 GB, free: 5.43 MB / 0.7325 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.001505/1.397, allocations: 0.738 MB / 0.9883 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006671/1.398, allocations: 250.5 kB / 0.9885 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009944/1.408, allocations: 4.614 MB / 0.993 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.41e-05/1.408, allocations: 36 kB / 0.9931 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.408, allocations: 4 kB / 0.9931 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007244/1.415, allocations: 3.952 MB / 0.9969 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/1.431, allocations: 8.265 MB / 1.005 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/1.431, allocations: 4 kB / 1.005 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003322/1.434, allocations: 0.67 MB / 1.006 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/1.435, allocations: 134.5 kB / 1.006 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002485/1.435, allocations: 79.97 kB / 1.006 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004718/1.44, allocations: 5.095 MB / 1.011 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/1.44, allocations: 0 / 1.011 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.454, allocations: 7.036 MB / 1.018 GB, free: 6.105 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/1.456, allocations: 0.7757 MB / 1.018 GB, free: 5.309 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005052/1.456, allocations: 64 kB / 1.019 GB, free: 5.246 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/1.459, allocations: 89.12 kB / 1.019 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006091/1.459, allocations: 230.8 kB / 1.019 GB, free: 4.938 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/1.459, allocations: 112 kB / 1.019 GB, free: 4.828 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00154/1.461, allocations: 0.8606 MB / 1.02 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.8e-07/1.461, allocations: 0 / 1.02 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002534/1.464, allocations: 1.069 MB / 1.021 GB, free: 2.895 MB / 0.7637 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.01329/1.477, allocations: 7.826 MB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007024/1.484, allocations: 4.069 MB / 1.032 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.484, allocations: 0 / 1.032 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004077/1.488, allocations: 2.561 MB / 1.035 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005176/1.493, allocations: 1.074 MB / 1.036 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03697/1.53, allocations: 23.06 MB / 1.059 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/1.532, allocations: 1.939 MB / 1.06 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00376/1.536, allocations: 1.216 MB / 1.062 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/1.538, allocations: 1.081 MB / 1.063 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of SimCode: time 6.61e-07/1.538, allocations: 0 / 1.063 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/1.666, allocations: 66.82 MB / 1.128 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/17.03, allocations: 7.719 kB / 1.128 GB, free: 5.738 MB / 0.8731 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_ClosedDoors.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)