Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_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.001207/0.001207, allocations: 190.8 kB / 7.808 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4873/0.4873, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.4 MB / 342.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 93.31 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1799/0.181, allocations: 78.45 MB / 493.9 MB, free: 7.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.5953, allocations: 72.31 MB / 0.553 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6606/1.256, allocations: 380.6 MB / 0.9247 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.256, allocations: 93.7 kB / 0.9248 GB, free: 7.402 MB / 0.5886 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.961/5.217, allocations: 1.125 GB / 2.05 GB, free: 52.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/5.217, allocations: 11.94 kB / 2.05 GB, free: 52.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008113/5.218, allocations: 272.2 kB / 2.05 GB, free: 52.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004206/5.222, allocations: 1.681 MB / 2.052 GB, free: 52.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/5.222, allocations: 39.59 kB / 2.052 GB, free: 52.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/5.222, allocations: 90 kB / 2.052 GB, free: 52.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001773/5.224, allocations: 0.9168 MB / 2.053 GB, free: 52.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/5.226, allocations: 0.9366 MB / 2.054 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/5.226, allocations: 3.438 kB / 2.054 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/5.226, allocations: 0 / 2.054 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/5.226, allocations: 26.56 kB / 2.054 GB, free: 52.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/5.237, allocations: 6.006 MB / 2.06 GB, free: 49.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009143/5.238, allocations: 0.5566 MB / 2.06 GB, free: 49.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/5.238, allocations: 368.5 kB / 2.061 GB, free: 49.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005209/5.239, allocations: 0.508 MB / 2.061 GB, free: 48.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/5.239, allocations: 41.09 kB / 2.061 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=58): time 4.278e-06/5.239, allocations: 0 / 2.061 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58): time 0.001938/5.241, allocations: 0.8595 MB / 2.062 GB, free: 48.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/5.241, allocations: 58.34 kB / 2.062 GB, free: 48.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/5.243, allocations: 1.327 MB / 2.063 GB, free: 48.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/5.243, allocations: 29.17 kB / 2.063 GB, free: 48.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/5.243, allocations: 0.5967 MB / 2.064 GB, free: 48.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/5.243, allocations: 193.8 kB / 2.064 GB, free: 48.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/5.243, allocations: 1.688 kB / 2.064 GB, free: 48.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/5.244, allocations: 352.6 kB / 2.065 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/5.244, allocations: 392.6 kB / 2.065 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008335/5.245, allocations: 0.7127 MB / 2.066 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/5.246, allocations: 0.4886 MB / 2.066 GB, free: 47.35 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/5.246, allocations: 0 / 2.066 GB, free: 47.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002733/5.249, allocations: 1.26 MB / 2.067 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004335/5.249, allocations: 0.9115 MB / 2.068 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/5.249, allocations: 3.844 kB / 2.068 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/5.249, allocations: 7.5 kB / 2.068 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/5.251, allocations: 277.2 kB / 2.069 GB, free: 46.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/5.251, allocations: 7.188 kB / 2.069 GB, free: 46.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/5.253, allocations: 176 kB / 2.069 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/5.253, allocations: 64.27 kB / 2.069 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/5.253, allocations: 4.875 kB / 2.069 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001994/5.255, allocations: 0.9853 MB / 2.07 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/5.255, allocations: 2.953 kB / 2.07 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/5.256, allocations: 10.19 kB / 2.07 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/5.257, allocations: 269.5 kB / 2.07 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/5.257, allocations: 9.344 kB / 2.07 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/5.259, allocations: 166.5 kB / 2.07 GB, free: 46.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/5.259, allocations: 53.19 kB / 2.07 GB, free: 46.09 MB / 0.6355 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 (140): * Single equations (assignments): 140 * 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.0002854/5.259, allocations: 131.9 kB / 2.07 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/5.26, allocations: 176.9 kB / 2.07 GB, free: 45.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/5.262, allocations: 1.056 MB / 2.072 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/5.262, allocations: 7.219 kB / 2.072 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/5.262, allocations: 2.438 kB / 2.072 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/5.262, allocations: 3.844 kB / 2.072 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005197/5.267, allocations: 2.237 MB / 2.074 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/5.268, allocations: 7.375 kB / 2.074 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/5.268, allocations: 133 kB / 2.074 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/5.268, allocations: 3.094 kB / 2.074 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/5.268, allocations: 19.47 kB / 2.074 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/5.268, allocations: 7.625 kB / 2.074 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/5.268, allocations: 3.812 kB / 2.074 GB, free: 45.36 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001653/5.27, allocations: 1.09 MB / 2.075 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001842/5.272, allocations: 1.592 MB / 2.077 GB, free: 44.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007288/5.273, allocations: 355.3 kB / 2.077 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003698/5.273, allocations: 7.719 kB / 2.077 GB, free: 43.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/5.274, allocations: 103.8 kB / 2.077 GB, free: 43.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/5.274, allocations: 42.67 kB / 2.077 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/5.274, allocations: 32.58 kB / 2.077 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001576/5.276, allocations: 0.9722 MB / 2.078 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005705/5.282, allocations: 1.243 MB / 2.079 GB, free: 43.59 MB / 0.6355 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.001736/5.283, allocations: 0.9978 MB / 2.08 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003012/5.287, allocations: 1.544 MB / 2.082 GB, free: 43.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/5.287, allocations: 2.562 kB / 2.082 GB, free: 43.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005585/5.287, allocations: 384.8 kB / 2.082 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004753/5.292, allocations: 0.8853 MB / 2.083 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006974/5.299, allocations: 2.283 MB / 2.085 GB, free: 42.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/5.301, allocations: 1.627 MB / 2.087 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/5.301, allocations: 0 / 2.087 GB, free: 41.77 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)