Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8485/0.8485, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 180.5 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 426.3 MB, free: 8.383 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 90.36 kB / 0.4945 GB, free: 8.336 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001827/0.001827, allocations: 269.8 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005193, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5023, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.719/6.221, allocations: 2.044 GB / 2.783 GB, free: 165.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/6.222, allocations: 91.95 kB / 2.784 GB, free: 165.4 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 2.273/8.494, allocations: 0.6574 GB / 3.441 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.473e-06/8.494, allocations: 4 kB / 3.441 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.326e-05/8.495, allocations: 23.98 kB / 3.441 GB, free: 11.93 MB / 0.6823 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.005795/8.5, allocations: 1.471 MB / 3.442 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/8.5, allocations: 12.03 kB / 3.442 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/8.501, allocations: 147.7 kB / 3.443 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/8.503, allocations: 0.591 MB / 3.443 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/8.503, allocations: 50.38 kB / 3.443 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/8.503, allocations: 72.38 kB / 3.443 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/8.505, allocations: 0.8328 MB / 3.444 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/8.505, allocations: 7.875 kB / 3.444 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/8.505, allocations: 28 kB / 3.444 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/8.505, allocations: 45.98 kB / 3.444 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/8.507, allocations: 0.7222 MB / 3.445 GB, free: 7.836 MB / 0.6823 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.006241/8.513, allocations: 4.596 MB / 3.449 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/8.514, allocations: 459.9 kB / 3.45 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/8.514, allocations: 201.3 kB / 3.45 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/8.515, allocations: 0.7561 MB / 3.451 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/8.515, allocations: 38.89 kB / 3.451 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 2.494e-06/8.515, allocations: 0 / 3.451 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.001438/8.516, allocations: 0.6147 MB / 3.451 GB, free: 456 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/8.516, allocations: 55.41 kB / 3.451 GB, free: 388 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4836/9, allocations: 0.8596 MB / 3.452 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/9, allocations: 33.86 kB / 3.452 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/9.001, allocations: 392.8 kB / 3.453 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/9.001, allocations: 138.9 kB / 3.453 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/9.001, allocations: 8.781 kB / 3.453 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/9.001, allocations: 323.8 kB / 3.453 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/9.001, allocations: 192.1 kB / 3.453 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/9.002, allocations: 290.6 kB / 3.454 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/9.003, allocations: 456.3 kB / 3.454 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/9.003, allocations: 0.75 kB / 3.454 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001407/9.004, allocations: 0.5944 MB / 3.455 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/9.004, allocations: 7.375 kB / 3.455 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/9.004, allocations: 2.875 kB / 3.455 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/9.004, allocations: 3.812 kB / 3.455 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/9.005, allocations: 107.3 kB / 3.455 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/9.005, allocations: 8.016 kB / 3.455 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008998/9.006, allocations: 110.5 kB / 3.455 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/9.006, allocations: 23.3 kB / 3.455 GB, free: 108.6 MB / 0.6823 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 () * Number of clocked 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.0004814/9.006, allocations: 245.4 kB / 3.455 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/9.006, allocations: 78.97 kB / 3.455 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/9.008, allocations: 0.5635 MB / 3.456 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/9.008, allocations: 8.438 kB / 3.456 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/9.008, allocations: 1.172 kB / 3.456 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/9.008, allocations: 2.484 kB / 3.456 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004269/9.012, allocations: 2.07 MB / 3.458 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/9.012, allocations: 7.094 kB / 3.458 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/9.013, allocations: 91.78 kB / 3.458 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.737e-05/9.013, allocations: 8.938 kB / 3.458 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/9.013, allocations: 20.89 kB / 3.458 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-05/9.013, allocations: 12.14 kB / 3.458 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/9.013, allocations: 8.438 kB / 3.458 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/9.014, allocations: 0.9955 MB / 3.459 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/9.014, allocations: 228.4 kB / 3.459 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/9.015, allocations: 13.09 kB / 3.459 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/9.015, allocations: 52.31 kB / 3.459 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/9.015, allocations: 59.05 kB / 3.459 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/9.015, allocations: 19.31 kB / 3.459 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007084/9.016, allocations: 0.6264 MB / 3.46 GB, free: 107 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/9.016, allocations: 0 / 3.46 GB, free: 107 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001533/9.018, allocations: 442.4 kB / 3.46 GB, free: 107 MB / 0.6823 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 () * Number of clocked 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.002898/9.021, allocations: 2.066 MB / 3.462 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008619/9.021, allocations: 446.6 kB / 3.463 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/9.021, allocations: 6.031 kB / 3.463 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003827/9.022, allocations: 229.4 kB / 3.463 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/9.025, allocations: 485.3 kB / 3.463 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/9.028, allocations: 1.816 MB / 3.465 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/9.028, allocations: 1.01 MB / 3.466 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008719/9.029, allocations: 183.5 kB / 3.466 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/9.029, allocations: 65.53 kB / 3.466 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/9.029, allocations: 2.344 kB / 3.466 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.05542/9.085, allocations: 39.82 MB / 3.505 GB, free: 103.8 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)