Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8275/0.8275, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.5 MB / 395.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008727/0.0008729, allocations: 103.7 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.227e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4738, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.235/5.709, allocations: 1.899 GB / 2.533 GB, free: 97.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/5.709, allocations: 84 kB / 2.533 GB, free: 97.85 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 4.26/9.969, allocations: 1.024 GB / 3.557 GB, free: 85.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.556e-06/9.969, allocations: 0 / 3.557 GB, free: 85.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005101/9.97, allocations: 68.78 kB / 3.557 GB, free: 85.84 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01154/9.981, allocations: 2.626 MB / 3.56 GB, free: 84.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/9.982, allocations: 12.34 kB / 3.56 GB, free: 84.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005491/9.987, allocations: 0.6595 MB / 3.561 GB, free: 84.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004993/9.992, allocations: 1.617 MB / 3.562 GB, free: 84.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/9.992, allocations: 60.5 kB / 3.562 GB, free: 84.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008734/9.993, allocations: 119.8 kB / 3.562 GB, free: 84.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0052/9.998, allocations: 2.262 MB / 3.565 GB, free: 84.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005223/10, allocations: 2.009 MB / 3.567 GB, free: 83.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-05/10, allocations: 0 / 3.567 GB, free: 83.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003556/10, allocations: 3.281 kB / 3.567 GB, free: 83.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/10, allocations: 91.08 kB / 3.567 GB, free: 83.96 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.01269/10.02, allocations: 7.654 MB / 3.574 GB, free: 80.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003306/10.02, allocations: 2.942 MB / 3.577 GB, free: 79.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/10.02, allocations: 1.21 MB / 3.578 GB, free: 79.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/10.02, allocations: 1.564 MB / 3.58 GB, free: 78.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/10.02, allocations: 67.25 kB / 3.58 GB, free: 77.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 4.208e-06/10.02, allocations: 0 / 3.58 GB, free: 77.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01297/10.04, allocations: 5.661 MB / 3.585 GB, free: 76.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/10.04, allocations: 151.1 kB / 3.585 GB, free: 76.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/10.04, allocations: 0.8735 MB / 3.586 GB, free: 76.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002363/10.04, allocations: 25.7 kB / 3.586 GB, free: 75.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005443/10.04, allocations: 0.7733 MB / 3.587 GB, free: 75.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006627/10.04, allocations: 0.732 MB / 3.588 GB, free: 74.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/10.04, allocations: 3.688 kB / 3.588 GB, free: 74.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001467/10.04, allocations: 387.6 kB / 3.588 GB, free: 74.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/10.04, allocations: 0.7619 MB / 3.589 GB, free: 74.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/10.04, allocations: 1.033 MB / 3.59 GB, free: 73.61 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009324/10.05, allocations: 3.285 MB / 3.593 GB, free: 72.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-05/10.05, allocations: 3.406 kB / 3.593 GB, free: 72.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005683/10.06, allocations: 2.227 MB / 3.595 GB, free: 71.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/10.06, allocations: 9.344 kB / 3.595 GB, free: 71.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/10.06, allocations: 7.812 kB / 3.595 GB, free: 71.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.922e-05/10.06, allocations: 13.69 kB / 3.595 GB, free: 71.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/10.06, allocations: 427.3 kB / 3.596 GB, free: 71.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.756e-05/10.06, allocations: 16.47 kB / 3.596 GB, free: 71.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/10.06, allocations: 117.5 kB / 3.596 GB, free: 71.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003026/10.06, allocations: 77.08 kB / 3.596 GB, free: 71.74 MB / 0.698 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004843/10.06, allocations: 153.4 kB / 3.596 GB, free: 71.6 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004364/10.07, allocations: 2.074 MB / 3.598 GB, free: 70.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/10.07, allocations: 193.6 kB / 3.598 GB, free: 70.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/10.07, allocations: 2.329 MB / 3.601 GB, free: 68.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/10.07, allocations: 24 kB / 3.601 GB, free: 68.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/10.07, allocations: 0 / 3.601 GB, free: 68.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003142/10.08, allocations: 1.968 MB / 3.602 GB, free: 66.96 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.009906/10.09, allocations: 5.349 MB / 3.608 GB, free: 62.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/10.09, allocations: 7.469 kB / 3.608 GB, free: 62.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/10.09, allocations: 475.1 kB / 3.608 GB, free: 62.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.111e-05/10.09, allocations: 16 kB / 3.608 GB, free: 62.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/10.09, allocations: 27.8 kB / 3.608 GB, free: 61.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.816e-05/10.09, allocations: 18.23 kB / 3.608 GB, free: 61.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/10.09, allocations: 14.31 kB / 3.608 GB, free: 61.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005733/10.09, allocations: 4.354 MB / 3.613 GB, free: 57.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/10.1, allocations: 486.5 kB / 3.613 GB, free: 57.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005598/10.1, allocations: 19.5 kB / 3.613 GB, free: 57.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/10.1, allocations: 111.4 kB / 3.613 GB, free: 57.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/10.1, allocations: 152.4 kB / 3.613 GB, free: 57.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/10.1, allocations: 79.12 kB / 3.613 GB, free: 57.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001401/10.1, allocations: 0.6696 MB / 3.614 GB, free: 56.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/10.1, allocations: 0 / 3.614 GB, free: 56.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003788/10.1, allocations: 0.7803 MB / 3.615 GB, free: 55.78 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.U,bouADis.dynBal.mXi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouBDis.dynBal.mXi[1],bouA.dynBal.U,bouA.dynBal.mXi[1],bouB.dynBal.U,bouB.dynBal.m,bouB.dynBal.mXi[1],dooDis.mExcBA,dooDis.mExcAB) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01076/10.11, allocations: 9.451 MB / 3.624 GB, free: 47.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002932/10.12, allocations: 1.965 MB / 3.626 GB, free: 45.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/10.12, allocations: 0 / 3.626 GB, free: 45.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/10.12, allocations: 1.062 MB / 3.627 GB, free: 44.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005483/10.12, allocations: 0.9691 MB / 3.628 GB, free: 43.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009864/10.13, allocations: 4.441 MB / 3.632 GB, free: 38.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/10.14, allocations: 1.694 MB / 3.634 GB, free: 37.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003109/10.14, allocations: 0.7248 MB / 3.635 GB, free: 36.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/10.14, allocations: 0.8312 MB / 3.635 GB, free: 35.66 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/10.14, allocations: 0 / 3.635 GB, free: 35.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6493/10.79, allocations: 69.45 MB / 3.703 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/10.79, allocations: 171.2 kB / 3.703 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.437/15.23, allocations: 0 / 3.703 GB, free: 102.7 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)