Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_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.004021/0.004021, allocations: 183.2 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7022/0.7022, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.526/1.526, 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.001266/0.001266, allocations: 109.8 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4823/0.4836, allocations: 88.43 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.6794, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.855, allocations: 358.1 MB / 0.983 GB, free: 264.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.856, allocations: 91.95 kB / 0.9831 GB, free: 264.9 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.246/3.102, allocations: 418.1 MB / 1.391 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/3.102, allocations: 11.53 kB / 1.391 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/3.102, allocations: 98.78 kB / 1.391 GB, free: 126 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009469/3.103, allocations: 0.5791 MB / 1.392 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/3.103, allocations: 12 kB / 1.392 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/3.103, allocations: 36 kB / 1.392 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004331/3.103, allocations: 249.8 kB / 1.392 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/3.104, allocations: 312.5 kB / 1.393 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/3.104, allocations: 0 / 1.393 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/3.104, allocations: 3.344 kB / 1.393 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/3.104, allocations: 12 kB / 1.393 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/3.106, allocations: 1.761 MB / 1.394 GB, free: 123 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/3.106, allocations: 150.5 kB / 1.394 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.988e-05/3.106, allocations: 64.84 kB / 1.395 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/3.106, allocations: 348.6 kB / 1.395 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/3.107, allocations: 30.56 kB / 1.395 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 2.485e-06/3.107, allocations: 3.188 kB / 1.395 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0005315/3.107, allocations: 216.8 kB / 1.395 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/3.107, allocations: 51.41 kB / 1.395 GB, free: 122 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/3.108, allocations: 495.7 kB / 1.396 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/3.108, allocations: 25.7 kB / 1.396 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/3.108, allocations: 280.2 kB / 1.396 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/3.108, allocations: 59.11 kB / 1.396 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/3.108, allocations: 3.062 kB / 1.396 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000101/3.108, allocations: 370.7 kB / 1.396 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/3.108, allocations: 84.73 kB / 1.396 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/3.108, allocations: 192.2 kB / 1.397 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/3.109, allocations: 117.2 kB / 1.397 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/3.109, allocations: 3.984 kB / 1.397 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005415/3.109, allocations: 330.7 kB / 1.397 GB, free: 120 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/3.109, allocations: 275.4 kB / 1.397 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/3.109, allocations: 3.562 kB / 1.397 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/3.109, allocations: 4 kB / 1.397 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/3.11, allocations: 147 kB / 1.397 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/3.111, allocations: 2.393 MB / 1.4 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/3.112, allocations: 78.34 kB / 1.4 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/3.112, allocations: 19.98 kB / 1.4 GB, free: 117 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/3.112, allocations: 4 kB / 1.4 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004509/3.113, allocations: 235.4 kB / 1.4 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/3.113, allocations: 0 / 1.4 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/3.113, allocations: 0 / 1.4 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/3.113, allocations: 111 kB / 1.4 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/3.113, allocations: 7.938 kB / 1.4 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/3.114, allocations: 63.12 kB / 1.4 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/3.114, allocations: 23.58 kB / 1.4 GB, free: 116.6 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.0001322/3.114, allocations: 115.9 kB / 1.4 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/3.114, allocations: 59.25 kB / 1.4 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/3.115, allocations: 274.9 kB / 1.401 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/3.115, allocations: 4 kB / 1.401 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/3.115, allocations: 0 / 1.401 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/3.115, allocations: 0 / 1.401 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/3.116, allocations: 0.7887 MB / 1.402 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/3.116, allocations: 0 / 1.402 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/3.116, allocations: 75.56 kB / 1.402 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/3.116, allocations: 11.36 kB / 1.402 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/3.116, allocations: 4 kB / 1.402 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009126/3.117, allocations: 2.362 MB / 1.404 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/3.117, allocations: 7.938 kB / 1.404 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004524/3.118, allocations: 399.7 kB / 1.404 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007301/3.119, allocations: 0.8073 MB / 1.405 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/3.119, allocations: 168.1 kB / 1.405 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/3.119, allocations: 0 / 1.405 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/3.119, allocations: 57.78 kB / 1.405 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/3.12, allocations: 27.77 kB / 1.405 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/3.12, allocations: 7.984 kB / 1.405 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004679/3.12, allocations: 371.2 kB / 1.406 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002741/3.123, allocations: 487.2 kB / 1.406 GB, free: 110.4 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.0009278/3.124, allocations: 481.5 kB / 1.407 GB, free: 110 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001568/3.125, allocations: 439.7 kB / 1.407 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/3.125, allocations: 3.406 kB / 1.407 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/3.126, allocations: 126.6 kB / 1.407 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/3.127, allocations: 282.5 kB / 1.407 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/3.129, allocations: 0.7595 MB / 1.408 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005314/3.13, allocations: 0.9928 MB / 1.409 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.402e-06/3.13, allocations: 4 kB / 1.409 GB, free: 107.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)