Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.00452/0.00452, allocations: 185.6 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7786/0.7786, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 98.91 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4054/0.4064, allocations: 88.43 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.5687, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.582, allocations: 390.3 MB / 1.015 GB, free: 243.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.582, allocations: 95.75 kB / 1.015 GB, free: 243.7 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 3.446/5.028, allocations: 1.125 GB / 2.14 GB, free: 53.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/5.028, allocations: 7.875 kB / 2.14 GB, free: 53.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006309/5.028, allocations: 266.3 kB / 2.14 GB, free: 53.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/5.032, allocations: 1.683 MB / 2.142 GB, free: 52.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/5.032, allocations: 39.75 kB / 2.142 GB, free: 52.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/5.032, allocations: 87.62 kB / 2.142 GB, free: 52.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001508/5.034, allocations: 0.9138 MB / 2.143 GB, free: 52.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/5.035, allocations: 0.9383 MB / 2.144 GB, free: 52.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/5.035, allocations: 0 / 2.144 GB, free: 52.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/5.035, allocations: 0 / 2.144 GB, free: 52.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/5.035, allocations: 28.34 kB / 2.144 GB, free: 52.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007473/5.043, allocations: 6.005 MB / 2.149 GB, free: 50.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/5.043, allocations: 0.5631 MB / 2.15 GB, free: 50.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/5.044, allocations: 362.2 kB / 2.15 GB, free: 50.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/5.044, allocations: 0.5052 MB / 2.151 GB, free: 49.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/5.044, allocations: 37.28 kB / 2.151 GB, free: 49.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 2.365e-06/5.044, allocations: 2.781 kB / 2.151 GB, free: 49.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.001562/5.046, allocations: 0.8644 MB / 2.152 GB, free: 49.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/5.046, allocations: 57.94 kB / 2.152 GB, free: 49.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/5.047, allocations: 1.318 MB / 2.153 GB, free: 49.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/5.047, allocations: 32.64 kB / 2.153 GB, free: 49.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/5.047, allocations: 0.5969 MB / 2.154 GB, free: 48.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/5.048, allocations: 200.1 kB / 2.154 GB, free: 48.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/5.048, allocations: 0 / 2.154 GB, free: 48.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.195e-05/5.048, allocations: 350.2 kB / 2.154 GB, free: 48.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/5.048, allocations: 392 kB / 2.155 GB, free: 48.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/5.049, allocations: 0.7202 MB / 2.155 GB, free: 47.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000829/5.05, allocations: 0.5086 MB / 2.156 GB, free: 47.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/5.05, allocations: 0 / 2.156 GB, free: 47.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001906/5.052, allocations: 1.273 MB / 2.157 GB, free: 47.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/5.052, allocations: 0.9123 MB / 2.158 GB, free: 46.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/5.052, allocations: 5.453 kB / 2.158 GB, free: 46.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/5.052, allocations: 6.906 kB / 2.158 GB, free: 46.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/5.053, allocations: 287.3 kB / 2.158 GB, free: 46.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/5.053, allocations: 11.91 kB / 2.158 GB, free: 46.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/5.055, allocations: 190.9 kB / 2.158 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/5.055, allocations: 62.89 kB / 2.158 GB, free: 46.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/5.055, allocations: 3.812 kB / 2.158 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001505/5.057, allocations: 1.005 MB / 2.159 GB, free: 46.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/5.057, allocations: 3.688 kB / 2.159 GB, free: 46.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.649e-06/5.057, allocations: 5.656 kB / 2.159 GB, free: 46.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/5.058, allocations: 282.8 kB / 2.16 GB, free: 46.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/5.058, allocations: 5.656 kB / 2.16 GB, free: 46.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/5.059, allocations: 164.6 kB / 2.16 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/5.06, allocations: 61.14 kB / 2.16 GB, free: 46.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0002006/5.06, allocations: 140 kB / 2.16 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/5.06, allocations: 177.3 kB / 2.16 GB, free: 46.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/5.062, allocations: 1.054 MB / 2.161 GB, free: 46.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/5.062, allocations: 8.938 kB / 2.161 GB, free: 46.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/5.062, allocations: 0 / 2.161 GB, free: 46.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/5.062, allocations: 3.703 kB / 2.161 GB, free: 46.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/5.065, allocations: 2.227 MB / 2.163 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/5.065, allocations: 1.969 kB / 2.163 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/5.066, allocations: 147.6 kB / 2.164 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/5.066, allocations: 6.812 kB / 2.164 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/5.066, allocations: 7.375 kB / 2.164 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/5.066, allocations: 3.531 kB / 2.164 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/5.066, allocations: 3.609 kB / 2.164 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00113/5.067, allocations: 1.097 MB / 2.165 GB, free: 45.57 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001404/5.068, allocations: 1.591 MB / 2.166 GB, free: 44.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005504/5.069, allocations: 361.6 kB / 2.167 GB, free: 44.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/5.069, allocations: 3.969 kB / 2.167 GB, free: 44.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000981/5.07, allocations: 102.3 kB / 2.167 GB, free: 44.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/5.07, allocations: 48.39 kB / 2.167 GB, free: 44.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/5.07, allocations: 22.75 kB / 2.167 GB, free: 44.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001041/5.071, allocations: 0.9685 MB / 2.168 GB, free: 44.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004038/5.075, allocations: 1.264 MB / 2.169 GB, free: 44.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001283/5.077, allocations: 0.9858 MB / 2.17 GB, free: 44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002157/5.079, allocations: 1.58 MB / 2.171 GB, free: 43.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/5.079, allocations: 3.344 kB / 2.171 GB, free: 43.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/5.079, allocations: 381.5 kB / 2.172 GB, free: 43.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/5.083, allocations: 0.8883 MB / 2.173 GB, free: 43.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/5.087, allocations: 2.282 MB / 2.175 GB, free: 43.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/5.088, allocations: 1.623 MB / 2.177 GB, free: 42.51 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/5.088, allocations: 0 / 2.177 GB, free: 42.51 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)