Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_SolidVolumes_Fundamentals_Blocks_Check_Check_TinyPIP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_SolidVolumes_Fundamentals_Blocks_Check_Check_TinyPIP",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003824/0.003824, allocations: 177.3 kB / 7.453 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.4 MB / 229.3 MB, free: 3.082 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 103.2 kB / 280.1 MB, free: 1.324 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08671/0.08671, allocations: 20.17 MB / 351.1 MB, free: 10.38 MB / 298.7 MB [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 1.069/1.069, allocations: 127.6 MB / 0.5229 GB, free: 4.77 MB / 346.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.2152/1.284, allocations: 89.74 MB / 0.6105 GB, free: 10.84 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/1.868, allocations: 82.83 MB / 0.6914 GB, free: 33.84 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/2.046, allocations: 125.3 MB / 0.8138 GB, free: 324 kB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/2.046, allocations: 96.88 kB / 0.8139 GB, free: 232 kB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.02613/2.072, allocations: 8.848 MB / 0.8225 GB, free: 7.445 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/2.072, allocations: 8 kB / 0.8225 GB, free: 7.438 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/2.072, allocations: 64.12 kB / 0.8226 GB, free: 7.375 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/2.073, allocations: 431.3 kB / 0.823 GB, free: 6.91 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/2.073, allocations: 12.53 kB / 0.823 GB, free: 6.898 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/2.073, allocations: 29.05 kB / 0.8231 GB, free: 6.871 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000492/2.074, allocations: 257.4 kB / 0.8233 GB, free: 6.621 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/2.075, allocations: 403.9 kB / 0.8237 GB, free: 6.199 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/2.075, allocations: 1.531 kB / 0.8237 GB, free: 6.199 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/2.075, allocations: 4 kB / 0.8237 GB, free: 6.195 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/2.075, allocations: 8 kB / 0.8237 GB, free: 6.188 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/2.077, allocations: 1.412 MB / 0.8251 GB, free: 4.734 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/2.078, allocations: 465.2 kB / 0.8255 GB, free: 4.234 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/2.078, allocations: 215 kB / 0.8257 GB, free: 4.008 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/2.078, allocations: 12.78 kB / 0.8257 GB, free: 3.996 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004128/2.079, allocations: 319.4 kB / 0.826 GB, free: 3.645 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=39): time 2.134e-06/2.079, allocations: 0.5312 kB / 0.826 GB, free: 3.645 MB / 0.5574 GB Notification: Performance of matching and sorting (n=39): time 0.0007838/2.08, allocations: 429.3 kB / 0.8265 GB, free: 3.223 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/2.08, allocations: 271 kB / 0.8267 GB, free: 2.898 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/2.08, allocations: 349.2 kB / 0.827 GB, free: 2.551 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/2.08, allocations: 29.7 kB / 0.8271 GB, free: 2.516 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/2.08, allocations: 184.5 kB / 0.8273 GB, free: 2.332 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/2.08, allocations: 119.8 kB / 0.8274 GB, free: 2.215 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/2.08, allocations: 0 / 0.8274 GB, free: 2.215 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001627/2.081, allocations: 358.8 kB / 0.8277 GB, free: 1.855 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/2.081, allocations: 156.8 kB / 0.8279 GB, free: 1.703 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/2.081, allocations: 269.2 kB / 0.8281 GB, free: 1.41 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/2.082, allocations: 182.9 kB / 0.8283 GB, free: 1.234 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/2.082, allocations: 3.906 kB / 0.8283 GB, free: 1.23 MB / 0.5574 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007296/2.082, allocations: 489.2 kB / 0.8288 GB, free: 0.7461 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004255/2.083, allocations: 0.9679 MB / 0.8297 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/2.083, allocations: 0 / 0.8297 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/2.083, allocations: 7.938 kB / 0.8297 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/2.083, allocations: 135.8 kB / 0.8298 GB, free: 15.56 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/2.085, allocations: 1.316 MB / 0.8311 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/2.085, allocations: 39.67 kB / 0.8312 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/2.085, allocations: 24 kB / 0.8312 GB, free: 14.08 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/2.085, allocations: 5.25 kB / 0.8312 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006286/2.086, allocations: 404.3 kB / 0.8316 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/2.086, allocations: 0 / 0.8316 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/2.086, allocations: 9.969 kB / 0.8316 GB, free: 13.67 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/2.086, allocations: 136.2 kB / 0.8317 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/2.087, allocations: 1.301 MB / 0.833 GB, free: 12.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/2.087, allocations: 35.67 kB / 0.833 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/2.087, allocations: 20 kB / 0.833 GB, free: 12.07 MB / 0.573 GB Warning: Assuming fixed start value for the following 1 variables: PI_1ph_in.switch_OnOff.u2:DISCRETE(fixed = false ) "Connector of Boolean input signal" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition1,$whenCondition2,step.a,step.b,step.last,$PRE.step.nextEvent,step.nextEvent,step.nextEventScaled,$PRE.PI_1ph_in.switch_OnOff.u2,PI_1ph_in.switch_OnOff.u2,$PRE.PI_1ph_in.time_lag_I_activation.entryTime,PI_1ph_in.time_lag_I_activation.entryTime,PI_1ph_in.I_activation.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002326/2.088, allocations: 164.2 kB / 0.8332 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.33e-05/2.088, allocations: 51.34 kB / 0.8332 GB, free: 11.84 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007215/2.089, allocations: 445.5 kB / 0.8337 GB, free: 11.41 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/2.089, allocations: 8 kB / 0.8337 GB, free: 11.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/2.089, allocations: 0 / 0.8337 GB, free: 11.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/2.089, allocations: 7.984 kB / 0.8337 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/2.09, allocations: 1.06 MB / 0.8347 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/2.09, allocations: 0 / 0.8347 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/2.091, allocations: 67.89 kB / 0.8348 GB, free: 10.22 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/2.091, allocations: 4 kB / 0.8348 GB, free: 10.21 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/2.091, allocations: 15.89 kB / 0.8348 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/2.091, allocations: 4 kB / 0.8348 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/2.091, allocations: 0 / 0.8348 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001099/2.092, allocations: 0.8721 MB / 0.8357 GB, free: 9.262 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001509/2.093, allocations: 1.475 MB / 0.8371 GB, free: 7.719 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.886e-05/2.093, allocations: 130.2 kB / 0.8372 GB, free: 7.574 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/2.093, allocations: 11.19 kB / 0.8372 GB, free: 7.566 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/2.094, allocations: 23.98 kB / 0.8373 GB, free: 7.543 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/2.094, allocations: 31.86 kB / 0.8373 GB, free: 7.512 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/2.094, allocations: 20 kB / 0.8373 GB, free: 7.492 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0003093/2.094, allocations: 275.2 kB / 0.8376 GB, free: 7.227 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001801/2.096, allocations: 167.4 kB / 0.8377 GB, free: 7.062 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (PI_1ph_in.smoothPIDInput.y_aux,PI_1ph_in.smoothPIDOutput.y_aux,PI_1ph_in.smoothPIDOutput1.y_aux,PI_1ph_in.resetValueI,stopablePI.outputI,PI_1ph_in.resetValueP,PI_1ph_in.resetValueID,PI_1ph_in.I.y) * Number of discrete variables: 11 ($whenCondition3,$whenCondition1,$whenCondition2,step.a,step.b,step.last,step.nextEvent,step.nextEventScaled,PI_1ph_in.switch_OnOff.u2,PI_1ph_in.time_lag_I_activation.entryTime,PI_1ph_in.I_activation.y) * Number of discrete states: 8 (step.nextEvent,step.last,step.nextEventScaled,step.b,step.a,$whenCondition2,PI_1ph_in.switch_OnOff.u2,PI_1ph_in.toPU.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0003205/2.096, allocations: 160.8 kB / 0.8379 GB, free: 6.898 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002264/2.099, allocations: 0.8575 MB / 0.8387 GB, free: 6.027 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/2.099, allocations: 0 / 0.8387 GB, free: 6.027 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/2.099, allocations: 234.4 kB / 0.8389 GB, free: 5.793 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/2.099, allocations: 45.75 kB / 0.839 GB, free: 5.75 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/2.101, allocations: 0.8055 MB / 0.8398 GB, free: 4.895 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/2.102, allocations: 0.917 MB / 0.8407 GB, free: 3.949 MB / 0.573 GB Notification: Performance of SimCode: time 6.11e-07/2.102, allocations: 4 kB / 0.8407 GB, free: 3.945 MB / 0.573 GB (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_ControlVolumes_SolidVolumes_Fundamentals_Blocks_Check_Check_TinyPIP_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_ControlVolumes_SolidVolumes_Fundamentals_Blocks_Check_Check_TinyPIP.fmu > ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.pipe 2>&1)