Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.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: translateModel(IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 173.9 kB / 7.648 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.8716/0.8716, allocations: 133.6 MB / 141.6 MB, free: 2.922 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.637/1.637, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0009035/0.0009035, allocations: 99.52 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.639e-05, allocations: 4 kB / 0.5535 GB, free: 9.051 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4357, allocations: 82.3 MB / 0.6338 GB, free: 40.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.444/4.879, allocations: 1.885 GB / 2.519 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/4.88, allocations: 81.39 kB / 2.519 GB, free: 112.5 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 2.024/6.904, allocations: 456.2 MB / 2.965 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/6.904, allocations: 0 / 2.965 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001151/6.904, allocations: 25.58 kB / 2.965 GB, free: 149 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00595/6.91, allocations: 1.502 MB / 2.966 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/6.91, allocations: 11.53 kB / 2.966 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/6.911, allocations: 159.6 kB / 2.966 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/6.913, allocations: 0.6407 MB / 2.967 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.233e-05/6.913, allocations: 26.94 kB / 2.967 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003691/6.914, allocations: 56.83 kB / 2.967 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002756/6.917, allocations: 1.32 MB / 2.968 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/6.919, allocations: 1.042 MB / 2.969 GB, free: 148 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/6.919, allocations: 3.938 kB / 2.969 GB, free: 148 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.824e-05/6.919, allocations: 3.5 kB / 2.969 GB, free: 148 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.903e-05/6.919, allocations: 45.67 kB / 2.969 GB, free: 148 MB / 0.6823 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.006531/6.926, allocations: 3.378 MB / 2.973 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/6.928, allocations: 1.375 MB / 2.974 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008984/6.929, allocations: 0.6629 MB / 2.975 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008893/6.93, allocations: 0.9597 MB / 2.976 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/6.931, allocations: 0.674 MB / 2.976 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=123): time 4.519e-06/6.931, allocations: 0 / 2.976 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123): time 0.003364/6.934, allocations: 1.414 MB / 2.978 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/6.934, allocations: 94.08 kB / 2.978 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009799/6.935, allocations: 0.5169 MB / 2.978 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.926e-05/6.935, allocations: 28.8 kB / 2.978 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/6.936, allocations: 385.1 kB / 2.979 GB, free: 145 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/6.936, allocations: 395.9 kB / 2.979 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/6.936, allocations: 3.594 kB / 2.979 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001888/6.936, allocations: 394.3 kB / 2.979 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007278/6.937, allocations: 0.494 MB / 2.98 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008532/6.938, allocations: 0.6759 MB / 2.981 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/6.94, allocations: 0.713 MB / 2.981 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/6.94, allocations: 3.719 kB / 2.981 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003053/6.943, allocations: 1.534 MB / 2.983 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/6.943, allocations: 41.03 kB / 2.983 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/6.943, allocations: 3.562 kB / 2.983 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-05/6.943, allocations: 14.58 kB / 2.983 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009625/6.944, allocations: 228.8 kB / 2.983 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.792e-05/6.944, allocations: 14.75 kB / 2.983 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/6.945, allocations: 86.25 kB / 2.983 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/6.945, allocations: 57.69 kB / 2.983 GB, free: 144.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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.0002725/6.945, allocations: 160.9 kB / 2.983 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/6.946, allocations: 98.89 kB / 2.984 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003348/6.949, allocations: 1.611 MB / 2.985 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/6.949, allocations: 11.5 kB / 2.985 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/6.949, allocations: 0 / 2.985 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/6.949, allocations: 7.219 kB / 2.985 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/6.955, allocations: 3.227 MB / 2.988 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/6.955, allocations: 6.719 kB / 2.988 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009182/6.956, allocations: 205.6 kB / 2.988 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.262e-05/6.956, allocations: 12.45 kB / 2.988 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/6.956, allocations: 16.19 kB / 2.988 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.153e-05/6.956, allocations: 16.09 kB / 2.988 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/6.956, allocations: 9.344 kB / 2.988 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/6.961, allocations: 2.827 MB / 2.991 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008057/6.962, allocations: 323.9 kB / 2.992 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/6.962, allocations: 15.38 kB / 2.992 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009336/6.963, allocations: 30.69 kB / 2.992 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/6.963, allocations: 92.06 kB / 2.992 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/6.963, allocations: 48.78 kB / 2.992 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007441/6.964, allocations: 422.5 kB / 2.992 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/6.964, allocations: 0 / 2.992 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002121/6.966, allocations: 449.9 kB / 2.993 GB, free: 142 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * 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.00359/6.97, allocations: 1.798 MB / 2.994 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002248/6.972, allocations: 1.253 MB / 2.996 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/6.972, allocations: 3.969 kB / 2.996 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/6.973, allocations: 0.6789 MB / 2.996 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/6.975, allocations: 227.4 kB / 2.996 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/6.979, allocations: 1.797 MB / 2.998 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/6.98, allocations: 1.129 MB / 2.999 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001526/6.982, allocations: 395.5 kB / 3 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/6.982, allocations: 83.33 kB / 3 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.533e-06/6.982, allocations: 3.281 kB / 3 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.0399/7.022, allocations: 20.99 MB / 3.02 GB, free: 137 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)