Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.DoorOpenClosed,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IDEAS_IDEAS_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.001074/0.001074, allocations: 180.9 kB / 7.65 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.8002/0.8002, allocations: 133.6 MB / 141.6 MB, free: 2.859 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.52/1.52, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.000844/0.000844, allocations: 97.44 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.131e-05, allocations: 0 / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.5281, allocations: 82.31 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.043/5.571, allocations: 1.883 GB / 2.517 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/5.571, allocations: 91.55 kB / 2.517 GB, free: 155.4 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.25/7.821, allocations: 0.6597 GB / 3.176 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/7.821, allocations: 0 / 3.176 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001053/7.821, allocations: 20 kB / 3.176 GB, free: 9.082 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.005704/7.827, allocations: 1.352 MB / 3.178 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.169e-05/7.827, allocations: 8.031 kB / 3.178 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/7.828, allocations: 150.7 kB / 3.178 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/7.83, allocations: 0.5628 MB / 3.178 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/7.83, allocations: 28 kB / 3.179 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/7.83, allocations: 40.22 kB / 3.179 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001271/7.831, allocations: 0.5584 MB / 3.179 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/7.832, allocations: 0.7112 MB / 3.18 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/7.833, allocations: 0 / 3.18 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/7.833, allocations: 0 / 3.18 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/7.833, allocations: 45.98 kB / 3.18 GB, free: 5.508 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.005563/7.838, allocations: 4.371 MB / 3.184 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009519/7.839, allocations: 426.4 kB / 3.185 GB, free: 180 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/7.839, allocations: 161.5 kB / 3.185 GB, free: 16 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5648/8.404, allocations: 0.7569 MB / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/8.404, allocations: 40.77 kB / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 2.605e-06/8.404, allocations: 0 / 3.185 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.001492/8.406, allocations: 399.8 kB / 3.186 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/8.406, allocations: 56.56 kB / 3.186 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/8.407, allocations: 490.1 kB / 3.186 GB, free: 107 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/8.407, allocations: 27.59 kB / 3.186 GB, free: 107 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/8.407, allocations: 408.9 kB / 3.187 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/8.408, allocations: 137.3 kB / 3.187 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/8.408, allocations: 0 / 3.187 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001739/8.408, allocations: 367.1 kB / 3.187 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/8.408, allocations: 159.5 kB / 3.187 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005051/8.409, allocations: 310 kB / 3.188 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/8.409, allocations: 204 kB / 3.188 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/8.409, allocations: 1.719 kB / 3.188 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001157/8.41, allocations: 0.5116 MB / 3.188 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/8.41, allocations: 6.031 kB / 3.188 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/8.41, allocations: 6.438 kB / 3.188 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.213e-05/8.41, allocations: 6.75 kB / 3.188 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/8.411, allocations: 108.5 kB / 3.189 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/8.411, allocations: 10.69 kB / 3.189 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008157/8.412, allocations: 71.48 kB / 3.189 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/8.412, allocations: 29.92 kB / 3.189 GB, free: 106.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0001524/8.412, allocations: 120.7 kB / 3.189 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008192/8.413, allocations: 371.9 kB / 3.189 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/8.413, allocations: 59.08 kB / 3.189 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/8.414, allocations: 480.9 kB / 3.19 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/8.414, allocations: 7.938 kB / 3.19 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/8.414, allocations: 3.844 kB / 3.19 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/8.414, allocations: 2.438 kB / 3.19 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/8.418, allocations: 1.807 MB / 3.191 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/8.418, allocations: 16.88 kB / 3.191 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/8.419, allocations: 91.52 kB / 3.191 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/8.419, allocations: 11.25 kB / 3.191 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/8.419, allocations: 10.72 kB / 3.191 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.919e-05/8.419, allocations: 12.16 kB / 3.192 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.081e-05/8.419, allocations: 12.22 kB / 3.192 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/8.421, allocations: 1.176 MB / 3.193 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/8.421, allocations: 193.3 kB / 3.193 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/8.421, allocations: 14.95 kB / 3.193 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/8.422, allocations: 42.67 kB / 3.193 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/8.422, allocations: 56.84 kB / 3.193 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/8.422, allocations: 25 kB / 3.193 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005835/8.423, allocations: 387.8 kB / 3.193 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/8.423, allocations: 3.906 kB / 3.193 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00154/8.424, allocations: 388.9 kB / 3.194 GB, free: 104.2 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 () * 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.004822/8.429, allocations: 5.715 MB / 3.199 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008112/8.43, allocations: 388.9 kB / 3.2 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/8.43, allocations: 0 / 3.2 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003152/8.43, allocations: 201.8 kB / 3.2 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/8.432, allocations: 218.7 kB / 3.2 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/8.435, allocations: 1.291 MB / 3.201 GB, free: 100 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/8.436, allocations: 1.029 MB / 3.202 GB, free: 99.35 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008169/8.436, allocations: 135.4 kB / 3.202 GB, free: 99.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/8.437, allocations: 286.8 kB / 3.203 GB, free: 99.33 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/8.437, allocations: 3.844 kB / 3.203 GB, free: 99.33 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06385/8.501, allocations: 30.4 MB / 3.232 GB, free: 99.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/8.501, allocations: 174.5 kB / 3.233 GB, free: 98.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/11.49, allocations: 0 / 3.233 GB, free: 98.81 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)