Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorPressure",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.00101/0.00101, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5302/0.5302, allocations: 90.91 MB / 99.35 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009466/0.0009467, allocations: 95.33 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.935e-05, allocations: 0 / 494.6 MB, free: 52.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.03/5.201, allocations: 1.876 GB / 2.429 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/5.202, allocations: 79.89 kB / 2.429 GB, free: 29.41 MB / 0.6042 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 1.686/6.888, allocations: 456.3 MB / 2.875 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/6.888, allocations: 4 kB / 2.875 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.825e-05/6.888, allocations: 24 kB / 2.875 GB, free: 58.78 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00479/6.893, allocations: 1.506 MB / 2.877 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/6.893, allocations: 16.03 kB / 2.877 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/6.894, allocations: 158.5 kB / 2.877 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/6.895, allocations: 0.6445 MB / 2.877 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/6.896, allocations: 32 kB / 2.877 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/6.896, allocations: 52 kB / 2.877 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002079/6.898, allocations: 1.32 MB / 2.879 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/6.9, allocations: 1.04 MB / 2.88 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/6.9, allocations: 3.953 kB / 2.88 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/6.9, allocations: 4 kB / 2.88 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/6.9, allocations: 45.98 kB / 2.88 GB, free: 53.86 MB / 0.6042 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.004544/6.904, allocations: 3.108 MB / 2.883 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/6.906, allocations: 1.433 MB / 2.884 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/6.907, allocations: 0.6918 MB / 2.885 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/6.908, allocations: 1.536 MB / 2.886 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000884/6.909, allocations: 0.6983 MB / 2.887 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=127): time 3.457e-06/6.909, allocations: 0 / 2.887 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127): time 0.00282/6.912, allocations: 1.451 MB / 2.888 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/6.912, allocations: 98.38 kB / 2.889 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006198/6.912, allocations: 0.4905 MB / 2.889 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.4e-05/6.912, allocations: 25.7 kB / 2.889 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/6.913, allocations: 373.1 kB / 2.889 GB, free: 43.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/6.913, allocations: 409.8 kB / 2.89 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/6.913, allocations: 4 kB / 2.89 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001166/6.913, allocations: 390.8 kB / 2.89 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/6.914, allocations: 0.4945 MB / 2.891 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/6.914, allocations: 0.6488 MB / 2.891 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/6.916, allocations: 0.7127 MB / 2.892 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/6.916, allocations: 0 / 2.892 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00255/6.918, allocations: 1.538 MB / 2.894 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/6.918, allocations: 34.95 kB / 2.894 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/6.918, allocations: 4 kB / 2.894 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/6.918, allocations: 8 kB / 2.894 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008557/6.919, allocations: 219.7 kB / 2.894 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/6.919, allocations: 15.92 kB / 2.894 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008422/6.92, allocations: 103.1 kB / 2.894 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/6.92, allocations: 51.98 kB / 2.894 GB, free: 38.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * 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.0002168/6.92, allocations: 161.2 kB / 2.894 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002506/6.923, allocations: 1.451 MB / 2.895 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/6.923, allocations: 90.97 kB / 2.896 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/6.926, allocations: 1.653 MB / 2.897 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/6.926, allocations: 16 kB / 2.897 GB, free: 35.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/6.926, allocations: 3.953 kB / 2.897 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/6.926, allocations: 7.969 kB / 2.897 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005895/6.932, allocations: 3.573 MB / 2.901 GB, free: 31.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/6.932, allocations: 8 kB / 2.901 GB, free: 31.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008466/6.933, allocations: 215.7 kB / 2.901 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.72e-05/6.933, allocations: 12.72 kB / 2.901 GB, free: 31.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.468e-05/6.933, allocations: 20 kB / 2.901 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/6.933, allocations: 23.92 kB / 2.901 GB, free: 31.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/6.933, allocations: 8 kB / 2.901 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/6.937, allocations: 2.984 MB / 2.904 GB, free: 28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/6.938, allocations: 331.5 kB / 2.904 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/6.938, allocations: 12 kB / 2.904 GB, free: 27.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008507/6.939, allocations: 47.92 kB / 2.904 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/6.939, allocations: 100.5 kB / 2.904 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.86e-05/6.939, allocations: 52 kB / 2.904 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005601/6.94, allocations: 394.9 kB / 2.905 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/6.94, allocations: 0 / 2.905 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00171/6.941, allocations: 467.3 kB / 2.905 GB, free: 26.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * 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.006624/6.948, allocations: 7.087 MB / 2.912 GB, free: 19.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001734/6.95, allocations: 1.277 MB / 2.913 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.629e-06/6.95, allocations: 0.75 kB / 2.913 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008051/6.951, allocations: 0.7056 MB / 2.914 GB, free: 17.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/6.952, allocations: 227.8 kB / 2.914 GB, free: 17.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/6.957, allocations: 2.086 MB / 2.916 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/6.957, allocations: 1.129 MB / 2.917 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001296/6.959, allocations: 402.3 kB / 2.918 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/6.959, allocations: 351.3 kB / 2.918 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of SimCode: time 1.373e-06/6.959, allocations: 4 kB / 2.918 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4671/7.426, allocations: 32.17 MB / 2.95 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/7.427, allocations: 182.8 kB / 2.95 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/10.63, allocations: 3.156 kB / 2.95 GB, free: 111.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OpenDoorPressure.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)