Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",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.005638/0.005638, allocations: 100.5 kB / 15.73 MB, free: 6.027 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.001281/0.001281, allocations: 199.4 kB / 16.68 MB, free: 5.938 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8215/0.8215, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 59.22 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1713, allocations: 80.92 MB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5921/0.7635, allocations: 202 MB / 0.8614 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.774, allocations: 7.378 MB / 0.8686 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.7754, allocations: 35.81 kB / 0.8686 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.7773, allocations: 0.7226 MB / 0.8693 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.7834, allocations: 2.478 MB / 0.8717 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.7866, allocations: 1.254 MB / 0.873 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004055/0.7906, allocations: 2.906 MB / 0.8758 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.7919, allocations: 0.9591 MB / 0.8767 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.7937, allocations: 1.059 MB / 0.8778 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.7954, allocations: 0.9685 MB / 0.8787 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.7956, allocations: 108 kB / 0.8788 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.7997, allocations: 2.136 MB / 0.8809 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00047/0.8002, allocations: 450.8 kB / 0.8813 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007563/0.801, allocations: 0.665 MB / 0.882 GB, free: 324 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003752/0.8047, allocations: 2.416 MB / 0.8843 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8047, allocations: 0 / 0.8843 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8047, allocations: 0 / 0.8843 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.138e-05/0.8048, allocations: 0 / 0.8843 GB, free: 13.89 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003193/0.808, allocations: 1.673 MB / 0.886 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.808, allocations: 9.109 kB / 0.886 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.8082, allocations: 139.3 kB / 0.8861 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/0.8107, allocations: 382.9 kB / 0.8865 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.8121, allocations: 0.852 MB / 0.8873 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/0.8122, allocations: 66 kB / 0.8874 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.8123, allocations: 91.94 kB / 0.8875 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.814, allocations: 1.045 MB / 0.8885 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.814, allocations: 0 / 0.8885 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.421e-05/0.8141, allocations: 32 kB / 0.8885 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/0.8142, allocations: 45.98 kB / 0.8886 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.8157, allocations: 0.8744 MB / 0.8894 GB, free: 8.555 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.004768/0.8204, allocations: 4.29 MB / 0.8936 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.8215, allocations: 0.6938 MB / 0.8943 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007846/0.8223, allocations: 458.9 kB / 0.8947 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006118/0.8229, allocations: 0.6693 MB / 0.8954 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.823, allocations: 50.73 kB / 0.8954 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.505e-06/0.823, allocations: 0 / 0.8954 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001908/0.8249, allocations: 0.9943 MB / 0.8964 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.825, allocations: 67.89 kB / 0.8965 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/0.8257, allocations: 0.6295 MB / 0.8971 GB, free: 180 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.8258, allocations: 41.7 kB / 0.8971 GB, free: 132 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.8261, allocations: 444.8 kB / 0.8975 GB, free: 15.69 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.8264, allocations: 265.6 kB / 0.8978 GB, free: 15.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.8266, allocations: 118.3 kB / 0.8979 GB, free: 15.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.8267, allocations: 390.8 kB / 0.8983 GB, free: 14.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.8272, allocations: 273.2 kB / 0.8985 GB, free: 14.64 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.8277, allocations: 366.8 kB / 0.8989 GB, free: 14.26 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009951/0.8287, allocations: 0.6587 MB / 0.8995 GB, free: 13.58 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.8287, allocations: 0 / 0.8995 GB, free: 13.58 MB / 0.67 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001268/0.83, allocations: 0.7974 MB / 0.9003 GB, free: 12.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.83, allocations: 7.938 kB / 0.9003 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.83, allocations: 4 kB / 0.9003 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.8301, allocations: 4 kB / 0.9003 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/0.8307, allocations: 147.7 kB / 0.9005 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.8307, allocations: 7.938 kB / 0.9005 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/0.8315, allocations: 63.59 kB / 0.9005 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.8315, allocations: 24.19 kB / 0.9006 GB, free: 12.52 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0003955/0.8319, allocations: 281.7 kB / 0.9008 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.8321, allocations: 83.48 kB / 0.9009 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.8335, allocations: 0.7935 MB / 0.9017 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.8335, allocations: 8 kB / 0.9017 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.8335, allocations: 0 / 0.9017 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/0.8346, allocations: 0.8191 MB / 0.9025 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.8373, allocations: 1.837 MB / 0.9043 GB, free: 8.578 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8373, allocations: 3.938 kB / 0.9043 GB, free: 8.574 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008177/0.8382, allocations: 175.8 kB / 0.9044 GB, free: 8.402 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.8382, allocations: 4 kB / 0.9045 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.8382, allocations: 12 kB / 0.9045 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.8382, allocations: 4 kB / 0.9045 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8383, allocations: 0 / 0.9045 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.84, allocations: 1.281 MB / 0.9057 GB, free: 7.082 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.8405, allocations: 256.2 kB / 0.906 GB, free: 6.812 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.8406, allocations: 20 kB / 0.906 GB, free: 6.793 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/0.8412, allocations: 23.17 kB / 0.906 GB, free: 6.773 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.8413, allocations: 44.5 kB / 0.906 GB, free: 6.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.8414, allocations: 20 kB / 0.9061 GB, free: 6.711 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005348/0.8419, allocations: 459 kB / 0.9065 GB, free: 6.27 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8419, allocations: 4 kB / 0.9065 GB, free: 6.266 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008288/0.8428, allocations: 335.3 kB / 0.9068 GB, free: 5.938 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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 (70): * Single equations (assignments): 70 * 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.002285/0.8451, allocations: 1.916 MB / 0.9087 GB, free: 3.996 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.8462, allocations: 0.6798 MB / 0.9094 GB, free: 3.316 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8462, allocations: 4 kB / 0.9094 GB, free: 3.312 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.8467, allocations: 375 kB / 0.9097 GB, free: 2.945 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.8491, allocations: 0.5488 MB / 0.9103 GB, free: 2.41 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009461/0.8585, allocations: 6.936 MB / 0.917 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.8592, allocations: 1.085 MB / 0.9181 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008321/0.8601, allocations: 227.2 kB / 0.9183 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.8606, allocations: 367.3 kB / 0.9187 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of SimCode: time 6.41e-07/0.8606, allocations: 0 / 0.9187 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05054/0.9111, allocations: 25.36 MB / 0.9434 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.036/9.947, allocations: 6.562 kB / 0.9434 GB, free: 0.543 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation_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_NaturalVentilation.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)