Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.Validation.OneWayFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="IDEAS_IDEAS_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.001237/0.001237, allocations: 108 kB / 15.61 MB, free: 152 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.001216/0.001216, allocations: 192.7 kB / 16.53 MB, free: 6.699 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7253/0.7253, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.38 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3081, allocations: 80.21 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Validation.OneWayFlow): time 0.1958/0.5038, allocations: 218.2 MB / 0.7933 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.2971/0.8009, allocations: 26.47 MB / 0.8191 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.8023, allocations: 31.84 kB / 0.8191 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.8046, allocations: 1.157 MB / 0.8203 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00572/0.8103, allocations: 3.144 MB / 0.8233 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00312/0.8134, allocations: 1.654 MB / 0.8249 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00367/0.8171, allocations: 3.855 MB / 0.8287 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.8188, allocations: 1.448 MB / 0.8301 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.8224, allocations: 2.282 MB / 0.8323 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.824, allocations: 1.466 MB / 0.8338 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.8243, allocations: 125.2 kB / 0.8339 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.8273, allocations: 1.802 MB / 0.8357 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005438/0.8279, allocations: 0.8523 MB / 0.8365 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009564/0.8289, allocations: 1.179 MB / 0.8376 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.8313, allocations: 2.998 MB / 0.8406 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.8313, allocations: 4.969 kB / 0.8406 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8313, allocations: 0 / 0.8406 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.218e-05/0.8313, allocations: 0 / 0.8406 GB, free: 1.352 MB / 0.6387 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.003198/0.8345, allocations: 2.856 MB / 0.8434 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.8346, allocations: 10.38 kB / 0.8434 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.8347, allocations: 201.9 kB / 0.8436 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.8362, allocations: 443.1 kB / 0.844 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.8386, allocations: 2.73 MB / 0.8467 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.8387, allocations: 101 kB / 0.8468 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.8388, allocations: 129.4 kB / 0.8469 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.8406, allocations: 1.601 MB / 0.8484 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.8406, allocations: 5.938 kB / 0.8484 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.8407, allocations: 57.12 kB / 0.8485 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.853e-05/0.8408, allocations: 90.83 kB / 0.8486 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.8421, allocations: 1.064 MB / 0.8496 GB, free: 14.72 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.00609/0.8482, allocations: 8.494 MB / 0.8579 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.8491, allocations: 0.7235 MB / 0.8586 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.8494, allocations: 302.4 kB / 0.8589 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004891/0.8499, allocations: 0.6146 MB / 0.8595 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.85, allocations: 46.56 kB / 0.8596 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 2.304e-06/0.85, allocations: 0 / 0.8596 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.001377/0.8514, allocations: 0.9684 MB / 0.8605 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.8514, allocations: 166.4 kB / 0.8607 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/0.8555, allocations: 4.687 MB / 0.8652 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.8555, allocations: 36.27 kB / 0.8653 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006453/0.8562, allocations: 1.068 MB / 0.8663 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.8563, allocations: 176.1 kB / 0.8665 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.8564, allocations: 98.03 kB / 0.8666 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.8565, allocations: 329.6 kB / 0.8669 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.8568, allocations: 215.2 kB / 0.8671 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.8572, allocations: 323.9 kB / 0.8674 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007033/0.8579, allocations: 0.5619 MB / 0.868 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8579, allocations: 2.656 kB / 0.868 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001044/0.859, allocations: 0.8104 MB / 0.8688 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.859, allocations: 6.219 kB / 0.8688 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.859, allocations: 2.844 kB / 0.8688 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.859, allocations: 6.844 kB / 0.8688 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.8594, allocations: 102.8 kB / 0.8689 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8594, allocations: 7.812 kB / 0.8689 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.8601, allocations: 92.17 kB / 0.869 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.8602, allocations: 23.02 kB / 0.869 GB, free: 6.953 MB / 0.6544 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.0005393/0.8607, allocations: 0.541 MB / 0.8695 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/0.8611, allocations: 232.9 kB / 0.8697 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.8622, allocations: 0.8066 MB / 0.8705 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8622, allocations: 4.656 kB / 0.8705 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.8622, allocations: 3.906 kB / 0.8705 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.8622, allocations: 4.875 kB / 0.8705 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.8647, allocations: 2.094 MB / 0.8726 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.8647, allocations: 2.531 kB / 0.8726 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.8651, allocations: 97.33 kB / 0.8727 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.8651, allocations: 2.5 kB / 0.8727 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.8651, allocations: 20.56 kB / 0.8727 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.8651, allocations: 6.719 kB / 0.8727 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8651, allocations: 7.594 kB / 0.8727 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.8665, allocations: 1.266 MB / 0.8739 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/0.867, allocations: 413.9 kB / 0.8743 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.8673, allocations: 18.28 kB / 0.8744 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.8679, allocations: 21.27 kB / 0.8744 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.868, allocations: 38.62 kB / 0.8744 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.868, allocations: 19.09 kB / 0.8744 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002919/0.8709, allocations: 3.507 MB / 0.8779 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.871, allocations: 4.875 kB / 0.8779 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009044/0.8719, allocations: 481.1 kB / 0.8783 GB, free: 5.262 MB / 0.6544 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.002605/0.8745, allocations: 2.247 MB / 0.8805 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000856/0.8753, allocations: 0.6019 MB / 0.8811 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8754, allocations: 0 / 0.8811 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.8757, allocations: 299.5 kB / 0.8814 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/0.8788, allocations: 0.8578 MB / 0.8822 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/0.8998, allocations: 21.38 MB / 0.9031 GB, free: 5.484 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.9009, allocations: 1.64 MB / 0.9047 GB, free: 3.875 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001337/0.9023, allocations: 466.1 kB / 0.9052 GB, free: 3.418 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008355/0.9031, allocations: 0.9421 MB / 0.9061 GB, free: 3.207 MB / 0.67 GB Notification: Performance of SimCode: time 7.02e-07/0.9031, allocations: 0 / 0.9061 GB, free: 3.207 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07362/0.9768, allocations: 48.8 MB / 0.9537 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.728, allocations: 0 / 0.9537 GB, free: 3.23 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 IDEAS_IDEAS_Airflow_Multizone_Validation_OneWayFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)