Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.Dampers.Validation.PressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Dampers_Validation_PressureIndependent",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.00378/0.00378, allocations: 182.6 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7056/0.7056, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.637/1.637, allocations: 221.3 MB / 395 MB, free: 10.25 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.001092/0.001092, allocations: 103.1 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4258/0.427, allocations: 88.44 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.6199, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.054/4.674, allocations: 1.889 GB / 2.523 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003996/4.675, allocations: 95.94 kB / 2.523 GB, free: 73.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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 2.081/6.755, allocations: 0.595 GB / 3.118 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/6.755, allocations: 12 kB / 3.118 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/6.757, allocations: 301.8 kB / 3.118 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/6.76, allocations: 1.377 MB / 3.119 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/6.76, allocations: 24 kB / 3.119 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/6.76, allocations: 59.98 kB / 3.119 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001258/6.761, allocations: 0.8159 MB / 3.12 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/6.762, allocations: 0.9015 MB / 3.121 GB, free: 316 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/6.762, allocations: 0 / 3.121 GB, free: 316 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/6.762, allocations: 4 kB / 3.121 GB, free: 312 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/6.762, allocations: 16 kB / 3.121 GB, free: 296 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4068/7.169, allocations: 4.728 MB / 3.126 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/7.171, allocations: 0.7555 MB / 3.127 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/7.171, allocations: 385.4 kB / 3.127 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004297/7.172, allocations: 282.4 kB / 3.127 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/7.172, allocations: 49.17 kB / 3.127 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=50): time 4.729e-06/7.172, allocations: 0 / 3.127 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=50): time 0.002908/7.175, allocations: 1.082 MB / 3.128 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/7.175, allocations: 113.9 kB / 3.128 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/7.177, allocations: 1.399 MB / 3.13 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/7.177, allocations: 29.58 kB / 3.13 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/7.177, allocations: 400.3 kB / 3.13 GB, free: 181 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/7.177, allocations: 163.7 kB / 3.13 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/7.177, allocations: 0 / 3.13 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/7.177, allocations: 351.2 kB / 3.131 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/7.178, allocations: 0.8272 MB / 3.131 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/7.18, allocations: 1.184 MB / 3.133 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/7.182, allocations: 0.8915 MB / 3.133 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/7.182, allocations: 0 / 3.133 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003989/7.186, allocations: 2.128 MB / 3.136 GB, free: 180 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005058/7.186, allocations: 1.85 MB / 3.137 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/7.186, allocations: 7.438 kB / 3.137 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/7.187, allocations: 137.8 kB / 3.138 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/7.188, allocations: 228.4 kB / 3.138 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/7.189, allocations: 1.364 MB / 3.139 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/7.191, allocations: 210.9 kB / 3.139 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/7.191, allocations: 72.16 kB / 3.139 GB, free: 177 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/7.191, allocations: 3.344 kB / 3.139 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003396/7.195, allocations: 1.854 MB / 3.141 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/7.195, allocations: 3.812 kB / 3.141 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/7.195, allocations: 8.281 kB / 3.141 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/7.196, allocations: 251.7 kB / 3.141 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/7.196, allocations: 14.62 kB / 3.141 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/7.198, allocations: 193.2 kB / 3.142 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/7.198, allocations: 64.14 kB / 3.142 GB, free: 176.9 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conPID.u_m:VARIABLE() "Connector of measurement input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003363/7.198, allocations: 138.2 kB / 3.142 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/7.198, allocations: 121.8 kB / 3.142 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/7.201, allocations: 1.261 MB / 3.143 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/7.201, allocations: 7.906 kB / 3.143 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/7.201, allocations: 0 / 3.143 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/7.201, allocations: 3.75 kB / 3.143 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/7.206, allocations: 2.444 MB / 3.146 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/7.206, allocations: 2.562 kB / 3.146 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/7.207, allocations: 136.1 kB / 3.146 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006026/7.207, allocations: 138.4 kB / 3.146 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/7.207, allocations: 14.48 kB / 3.146 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008849/7.208, allocations: 1.346 MB / 3.147 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/7.208, allocations: 3.719 kB / 3.147 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003251/7.212, allocations: 1.875 MB / 3.149 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004284/7.216, allocations: 2.885 MB / 3.152 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006377/7.217, allocations: 381.5 kB / 3.152 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/7.217, allocations: 3.812 kB / 3.152 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/7.218, allocations: 104.3 kB / 3.152 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/7.218, allocations: 46.91 kB / 3.152 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.98e-05/7.218, allocations: 39.5 kB / 3.152 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001568/7.22, allocations: 1.059 MB / 3.153 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005393/7.225, allocations: 1.267 MB / 3.155 GB, free: 173.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003569/7.229, allocations: 1.978 MB / 3.157 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003813/7.233, allocations: 2.459 MB / 3.159 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/7.233, allocations: 0 / 3.159 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005633/7.233, allocations: 385.6 kB / 3.159 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/7.235, allocations: 319.5 kB / 3.16 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/7.239, allocations: 1.68 MB / 3.161 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/7.24, allocations: 1.312 MB / 3.163 GB, free: 172 MB / 0.6823 GB Notification: Performance of SimCode: time 7.01e-07/7.24, allocations: 0 / 3.163 GB, free: 172 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)