Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.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.DoorOpenClosed,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed",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.001174/0.001174, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4722/0.4722, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 221.3 MB / 348.3 MB, free: 440 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 104 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.859e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4478, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.449/5.897, allocations: 1.874 GB / 2.434 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/5.897, allocations: 83.95 kB / 2.434 GB, free: 153.4 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 2.864/8.761, allocations: 0.6682 GB / 3.102 GB, free: 101.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/8.761, allocations: 3.172 kB / 3.102 GB, free: 101.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.792e-05/8.761, allocations: 18.72 kB / 3.102 GB, free: 101.3 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.005559/8.767, allocations: 1.353 MB / 3.104 GB, free: 100.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.564e-05/8.767, allocations: 14.61 kB / 3.104 GB, free: 100.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005017/8.767, allocations: 120.8 kB / 3.104 GB, free: 100.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/8.769, allocations: 153.5 kB / 3.104 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/8.771, allocations: 0.5575 MB / 3.105 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/8.771, allocations: 50 kB / 3.105 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/8.771, allocations: 74.94 kB / 3.105 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/8.773, allocations: 0.8103 MB / 3.105 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/8.773, allocations: 3.938 kB / 3.105 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/8.773, allocations: 26.69 kB / 3.105 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/8.773, allocations: 45.84 kB / 3.106 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/8.774, allocations: 0.6809 MB / 3.106 GB, free: 100.4 MB / 0.6198 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.005567/8.78, allocations: 4.596 MB / 3.111 GB, free: 97.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/8.781, allocations: 455.1 kB / 3.111 GB, free: 97.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/8.781, allocations: 175.2 kB / 3.111 GB, free: 97.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/8.782, allocations: 0.7585 MB / 3.112 GB, free: 96.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/8.782, allocations: 41.05 kB / 3.112 GB, free: 96.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.305e-06/8.782, allocations: 0 / 3.112 GB, free: 96.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001038/8.783, allocations: 436.7 kB / 3.112 GB, free: 96.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/8.783, allocations: 62.72 kB / 3.113 GB, free: 96.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/8.784, allocations: 0.7702 MB / 3.113 GB, free: 95.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/8.784, allocations: 40.05 kB / 3.113 GB, free: 95.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/8.784, allocations: 398.8 kB / 3.114 GB, free: 95.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/8.784, allocations: 129.9 kB / 3.114 GB, free: 95.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/8.784, allocations: 10.94 kB / 3.114 GB, free: 95.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/8.785, allocations: 331.2 kB / 3.114 GB, free: 95.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/8.785, allocations: 170.6 kB / 3.114 GB, free: 95.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/8.785, allocations: 272.6 kB / 3.115 GB, free: 95.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/8.786, allocations: 213.8 kB / 3.115 GB, free: 95.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/8.786, allocations: 0 / 3.115 GB, free: 95.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009103/8.786, allocations: 0.5666 MB / 3.115 GB, free: 95.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/8.786, allocations: 5.562 kB / 3.115 GB, free: 95.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/8.786, allocations: 0 / 3.115 GB, free: 95.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/8.787, allocations: 4.656 kB / 3.115 GB, free: 95.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/8.787, allocations: 103.2 kB / 3.115 GB, free: 95.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/8.787, allocations: 7.406 kB / 3.115 GB, free: 95.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008901/8.788, allocations: 115.6 kB / 3.116 GB, free: 95.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/8.788, allocations: 21.47 kB / 3.116 GB, free: 95.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001205/8.788, allocations: 133.4 kB / 3.116 GB, free: 95.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/8.788, allocations: 81.94 kB / 3.116 GB, free: 95.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009078/8.789, allocations: 0.5305 MB / 3.116 GB, free: 94.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/8.789, allocations: 3.406 kB / 3.116 GB, free: 94.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/8.789, allocations: 0 / 3.116 GB, free: 94.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/8.789, allocations: 3.844 kB / 3.116 GB, free: 94.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/8.792, allocations: 2.052 MB / 3.118 GB, free: 94.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/8.792, allocations: 3.656 kB / 3.118 GB, free: 94.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/8.793, allocations: 93.86 kB / 3.118 GB, free: 94.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/8.793, allocations: 11.31 kB / 3.118 GB, free: 94.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/8.793, allocations: 15.06 kB / 3.118 GB, free: 94.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/8.793, allocations: 11.25 kB / 3.118 GB, free: 94.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/8.793, allocations: 11.31 kB / 3.118 GB, free: 94.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/8.794, allocations: 1.251 MB / 3.12 GB, free: 93.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/8.795, allocations: 229.1 kB / 3.12 GB, free: 93.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/8.795, allocations: 14.81 kB / 3.12 GB, free: 93.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/8.796, allocations: 54.39 kB / 3.12 GB, free: 93.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/8.796, allocations: 52.02 kB / 3.12 GB, free: 93.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/8.796, allocations: 18.19 kB / 3.12 GB, free: 93.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000796/8.797, allocations: 0.6178 MB / 3.121 GB, free: 93.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.573e-06/8.797, allocations: 0 / 3.121 GB, free: 93.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001798/8.798, allocations: 443.6 kB / 3.121 GB, free: 93.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.005145/8.804, allocations: 5.527 MB / 3.126 GB, free: 89.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007543/8.804, allocations: 418.8 kB / 3.127 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/8.804, allocations: 3.812 kB / 3.127 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/8.805, allocations: 224.9 kB / 3.127 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/8.807, allocations: 483.3 kB / 3.128 GB, free: 89.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/8.81, allocations: 1.383 MB / 3.129 GB, free: 88.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/8.811, allocations: 1.03 MB / 3.13 GB, free: 88.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008799/8.812, allocations: 180.1 kB / 3.13 GB, free: 88.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/8.812, allocations: 296 kB / 3.13 GB, free: 88.25 MB / 0.6198 GB Notification: Performance of SimCode: time 6.52e-07/8.812, allocations: 0 / 3.13 GB, free: 88.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/8.922, allocations: 58.9 MB / 3.188 GB, free: 78.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/8.922, allocations: 203.8 kB / 3.188 GB, free: 78.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.821/12.74, allocations: 0 / 3.188 GB, free: 78.11 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)