Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.004669/0.004669, allocations: 183.7 kB / 7.463 MB, free: 2.23 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6998/0.6998, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.456/1.456, allocations: 221.3 MB / 395 MB, free: 10.15 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.001052/0.001053, allocations: 106.3 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4433/0.4444, allocations: 88.43 MB / 0.5529 GB, free: 89.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.6246, allocations: 82.3 MB / 0.6333 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.741, allocations: 358.1 MB / 0.983 GB, free: 264.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/1.742, allocations: 96.16 kB / 0.9831 GB, free: 264.5 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 1.145/2.887, allocations: 418.1 MB / 1.391 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/2.887, allocations: 11.94 kB / 1.391 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/2.887, allocations: 102.8 kB / 1.391 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/2.888, allocations: 0.5784 MB / 1.392 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/2.888, allocations: 12 kB / 1.392 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/2.888, allocations: 36 kB / 1.392 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004707/2.889, allocations: 253.8 kB / 1.392 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/2.889, allocations: 311.2 kB / 1.393 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/2.889, allocations: 4 kB / 1.393 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/2.89, allocations: 0 / 1.393 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/2.89, allocations: 8 kB / 1.393 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/2.892, allocations: 1.763 MB / 1.394 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/2.892, allocations: 146.5 kB / 1.394 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/2.892, allocations: 64.84 kB / 1.395 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003567/2.893, allocations: 352 kB / 1.395 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/2.893, allocations: 38.22 kB / 1.395 GB, free: 122 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 1.873e-06/2.893, allocations: 0 / 1.395 GB, free: 122 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0005684/2.893, allocations: 218.5 kB / 1.395 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/2.893, allocations: 51.41 kB / 1.395 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/2.894, allocations: 491.7 kB / 1.396 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/2.894, allocations: 33.02 kB / 1.396 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/2.894, allocations: 276.2 kB / 1.396 GB, free: 121 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/2.894, allocations: 63.05 kB / 1.396 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/2.894, allocations: 0 / 1.396 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001512/2.894, allocations: 370.7 kB / 1.396 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/2.895, allocations: 84.73 kB / 1.396 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/2.895, allocations: 192.9 kB / 1.397 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/2.895, allocations: 120.5 kB / 1.397 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/2.895, allocations: 4 kB / 1.397 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000638/2.896, allocations: 334.7 kB / 1.397 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.876e-05/2.896, allocations: 270.2 kB / 1.397 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/2.896, allocations: 0 / 1.397 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/2.896, allocations: 4 kB / 1.397 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/2.897, allocations: 146.9 kB / 1.397 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/2.898, allocations: 2.393 MB / 1.4 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007851/2.899, allocations: 77.91 kB / 1.4 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/2.899, allocations: 19.98 kB / 1.4 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/2.899, allocations: 7.938 kB / 1.4 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005167/2.9, allocations: 227.7 kB / 1.4 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/2.9, allocations: 0 / 1.4 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/2.9, allocations: 4 kB / 1.4 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/2.9, allocations: 111 kB / 1.4 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/2.9, allocations: 4 kB / 1.4 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/2.901, allocations: 67.03 kB / 1.4 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/2.901, allocations: 15.98 kB / 1.4 GB, free: 116.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/2.901, allocations: 116.4 kB / 1.4 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/2.901, allocations: 59.25 kB / 1.4 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/2.902, allocations: 271.5 kB / 1.401 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/2.902, allocations: 4 kB / 1.401 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.902, allocations: 0 / 1.401 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/2.902, allocations: 0 / 1.401 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/2.903, allocations: 0.7926 MB / 1.402 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/2.903, allocations: 3.984 kB / 1.402 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/2.903, allocations: 74.56 kB / 1.402 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/2.903, allocations: 4 kB / 1.402 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/2.903, allocations: 4 kB / 1.402 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009969/2.904, allocations: 2.366 MB / 1.404 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/2.904, allocations: 7.75 kB / 1.404 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004237/2.905, allocations: 400.2 kB / 1.404 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006052/2.906, allocations: 0.8147 MB / 1.405 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/2.906, allocations: 168.1 kB / 1.405 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/2.906, allocations: 4 kB / 1.405 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/2.906, allocations: 53.56 kB / 1.405 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/2.906, allocations: 27.58 kB / 1.405 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/2.906, allocations: 7.984 kB / 1.405 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004137/2.907, allocations: 371.2 kB / 1.406 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002691/2.909, allocations: 494.8 kB / 1.406 GB, free: 110.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009759/2.91, allocations: 470.9 kB / 1.407 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001529/2.912, allocations: 434.2 kB / 1.407 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.912, allocations: 0 / 1.407 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/2.912, allocations: 131.7 kB / 1.407 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/2.914, allocations: 289.5 kB / 1.407 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/2.916, allocations: 0.7535 MB / 1.408 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004751/2.916, allocations: 0.9962 MB / 1.409 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/2.916, allocations: 0 / 1.409 GB, free: 107.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)