Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.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.FixedResistances.Validation.PressureDropsParallel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsParallel",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.003493/0.003493, allocations: 179 kB / 7.46 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.7094/0.7094, allocations: 133.5 MB / 141.4 MB, free: 15.74 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.718/1.718, allocations: 221.3 MB / 395 MB, free: 10.23 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.00108/0.00108, allocations: 101.8 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4787/0.4799, allocations: 88.43 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.6696, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.881, allocations: 352.4 MB / 0.9775 GB, free: 265.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.881, allocations: 86.34 kB / 0.9775 GB, free: 265.8 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.4091/2.29, allocations: 222.3 MB / 1.195 GB, free: 57.19 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/2.29, allocations: 8 kB / 1.195 GB, free: 57.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/2.29, allocations: 43.53 kB / 1.195 GB, free: 57.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/2.291, allocations: 399.1 kB / 1.195 GB, free: 56.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/2.291, allocations: 42.08 kB / 1.195 GB, free: 56.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/2.291, allocations: 16 kB / 1.195 GB, free: 56.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002142/2.291, allocations: 116.8 kB / 1.195 GB, free: 56.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/2.292, allocations: 174.4 kB / 1.195 GB, free: 56.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/2.292, allocations: 0 / 1.195 GB, free: 56.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/2.292, allocations: 3.938 kB / 1.195 GB, free: 56.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/2.292, allocations: 8 kB / 1.195 GB, free: 56.35 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/2.293, allocations: 1.043 MB / 1.196 GB, free: 55.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/2.293, allocations: 90.58 kB / 1.197 GB, free: 55.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/2.293, allocations: 48.84 kB / 1.197 GB, free: 55.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/2.294, allocations: 340.4 kB / 1.197 GB, free: 54.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/2.294, allocations: 34.56 kB / 1.197 GB, free: 54.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/2.294, allocations: 0 / 1.197 GB, free: 54.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003672/2.294, allocations: 129.4 kB / 1.197 GB, free: 54.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/2.294, allocations: 59.41 kB / 1.197 GB, free: 54.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/2.294, allocations: 235.6 kB / 1.197 GB, free: 54.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/2.294, allocations: 25.7 kB / 1.197 GB, free: 54.13 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/2.294, allocations: 164.1 kB / 1.197 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/2.294, allocations: 35.45 kB / 1.198 GB, free: 53.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/2.294, allocations: 0 / 1.198 GB, free: 53.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/2.294, allocations: 342.8 kB / 1.198 GB, free: 53.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/2.294, allocations: 24 kB / 1.198 GB, free: 53.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/2.295, allocations: 83.66 kB / 1.198 GB, free: 53.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/2.295, allocations: 51.95 kB / 1.198 GB, free: 53.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/2.295, allocations: 0 / 1.198 GB, free: 53.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002457/2.295, allocations: 133.3 kB / 1.198 GB, free: 53.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/2.295, allocations: 270.9 kB / 1.198 GB, free: 52.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/2.295, allocations: 4 kB / 1.198 GB, free: 52.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/2.295, allocations: 4 kB / 1.198 GB, free: 52.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/2.295, allocations: 23.98 kB / 1.198 GB, free: 52.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/2.295, allocations: 3.984 kB / 1.198 GB, free: 52.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/2.295, allocations: 39.81 kB / 1.198 GB, free: 52.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/2.295, allocations: 8 kB / 1.198 GB, free: 52.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/2.296, allocations: 7.938 kB / 1.198 GB, free: 52.89 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001842/2.296, allocations: 68.14 kB / 1.199 GB, free: 52.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-06/2.296, allocations: 4 kB / 1.199 GB, free: 52.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-06/2.296, allocations: 7.969 kB / 1.199 GB, free: 52.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/2.296, allocations: 35.91 kB / 1.199 GB, free: 52.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/2.296, allocations: 4 kB / 1.199 GB, free: 52.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/2.296, allocations: 43.81 kB / 1.199 GB, free: 52.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/2.296, allocations: 7.984 kB / 1.199 GB, free: 52.72 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 (11): * Single equations (assignments): 11 * 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 6.575e-05/2.296, allocations: 105 kB / 1.199 GB, free: 52.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/2.296, allocations: 27.62 kB / 1.199 GB, free: 52.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/2.297, allocations: 184.4 kB / 1.199 GB, free: 52.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/2.297, allocations: 0 / 1.199 GB, free: 52.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/2.297, allocations: 0 / 1.199 GB, free: 52.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/2.297, allocations: 3.984 kB / 1.199 GB, free: 52.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/2.297, allocations: 0.5325 MB / 1.199 GB, free: 51.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/2.297, allocations: 4 kB / 1.199 GB, free: 51.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/2.297, allocations: 32.02 kB / 1.2 GB, free: 51.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/2.297, allocations: 0 / 1.2 GB, free: 51.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/2.297, allocations: 7.938 kB / 1.2 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/2.297, allocations: 0 / 1.2 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/2.297, allocations: 0 / 1.2 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000279/2.298, allocations: 312.4 kB / 1.2 GB, free: 51.42 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003856/2.298, allocations: 0.6875 MB / 1.2 GB, free: 50.69 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.871e-05/2.298, allocations: 128.6 kB / 1.201 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/2.298, allocations: 0 / 1.201 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/2.299, allocations: 39.95 kB / 1.201 GB, free: 50.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/2.299, allocations: 7.984 kB / 1.201 GB, free: 50.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/2.299, allocations: 8 kB / 1.201 GB, free: 50.49 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001425/2.299, allocations: 202.9 kB / 1.201 GB, free: 50.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001908/2.301, allocations: 251.6 kB / 1.201 GB, free: 50.04 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006735/2.301, allocations: 347 kB / 1.201 GB, free: 49.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002638/2.302, allocations: 145.8 kB / 1.202 GB, free: 49.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/2.302, allocations: 3.938 kB / 1.202 GB, free: 49.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/2.302, allocations: 55.91 kB / 1.202 GB, free: 49.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007662/2.303, allocations: 125.3 kB / 1.202 GB, free: 49.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/2.303, allocations: 375 kB / 1.202 GB, free: 48.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/2.303, allocations: 0.8265 MB / 1.203 GB, free: 48.12 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/2.303, allocations: 0 / 1.203 GB, free: 48.12 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsParallel_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsParallel.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe 2>&1)