Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 105.6 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 190 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.781/0.781, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 0.5067 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4473, allocations: 80.91 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1368/0.5841, allocations: 154.4 MB / 0.7365 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3947/0.9789, allocations: 30.35 MB / 0.7662 GB, free: 39.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007179/0.9861, allocations: 140.8 kB / 0.7663 GB, free: 39.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003462/0.9897, allocations: 1.035 MB / 0.7673 GB, free: 39.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009501/0.9992, allocations: 3.163 MB / 0.7704 GB, free: 39.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006144/1.005, allocations: 2.506 MB / 0.7728 GB, free: 39.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008222/1.014, allocations: 5.391 MB / 0.7781 GB, free: 39.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/1.017, allocations: 2.234 MB / 0.7803 GB, free: 38.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005436/1.022, allocations: 2.692 MB / 0.7829 GB, free: 38.69 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/1.025, allocations: 1.963 MB / 0.7848 GB, free: 38.37 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003986/1.026, allocations: 214.6 kB / 0.785 GB, free: 38.37 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/1.028, allocations: 1.089 MB / 0.7861 GB, free: 38.35 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005521/1.029, allocations: 0.5555 MB / 0.7866 GB, free: 38.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/1.031, allocations: 1.27 MB / 0.7879 GB, free: 37.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/1.035, allocations: 3.328 MB / 0.7911 GB, free: 37.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/1.035, allocations: 0 / 0.7911 GB, free: 37.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/1.035, allocations: 0 / 0.7911 GB, free: 37.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.467e-05/1.035, allocations: 0 / 0.7911 GB, free: 37.39 MB / 0.5762 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 0.004606/1.04, allocations: 2.791 MB / 0.7939 GB, free: 36.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.04, allocations: 9.359 kB / 0.7939 GB, free: 36.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004815/1.04, allocations: 263.8 kB / 0.7941 GB, free: 35.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/1.043, allocations: 1.513 MB / 0.7956 GB, free: 35.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/1.043, allocations: 104.5 kB / 0.7957 GB, free: 35.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/1.043, allocations: 137.6 kB / 0.7958 GB, free: 35.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/1.045, allocations: 1.157 MB / 0.7969 GB, free: 35.31 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/1.045, allocations: 0 / 0.7969 GB, free: 35.31 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/1.045, allocations: 46.97 kB / 0.797 GB, free: 35.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/1.045, allocations: 28 kB / 0.797 GB, free: 35.31 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/1.046, allocations: 1.019 MB / 0.798 GB, free: 35.29 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008877/1.055, allocations: 6.319 MB / 0.8042 GB, free: 31.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008068/1.056, allocations: 0.5737 MB / 0.8047 GB, free: 31.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/1.057, allocations: 383.7 kB / 0.8051 GB, free: 31.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/1.057, allocations: 0.5047 MB / 0.8056 GB, free: 30.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/1.057, allocations: 42.28 kB / 0.8056 GB, free: 30.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001451/1.058, allocations: 231.9 kB / 0.8059 GB, free: 30.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 2.525e-06/1.058, allocations: 0 / 0.8059 GB, free: 30.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.001946/1.06, allocations: 1.166 MB / 0.807 GB, free: 30.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/1.06, allocations: 57.97 kB / 0.8071 GB, free: 30.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/1.063, allocations: 1.891 MB / 0.8089 GB, free: 29.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/1.063, allocations: 47.55 kB / 0.809 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006185/1.063, allocations: 0.9198 MB / 0.8099 GB, free: 29.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/1.063, allocations: 204.5 kB / 0.81 GB, free: 29.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/1.064, allocations: 302.6 kB / 0.8103 GB, free: 29.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.064, allocations: 356.6 kB / 0.8107 GB, free: 28.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007571/1.065, allocations: 454.9 kB / 0.8111 GB, free: 28.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008948/1.066, allocations: 0.7016 MB / 0.8118 GB, free: 28.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/1.067, allocations: 0.9761 MB / 0.8127 GB, free: 27.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.067, allocations: 0 / 0.8127 GB, free: 27.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002209/1.069, allocations: 1.429 MB / 0.8141 GB, free: 26.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.069, allocations: 9.156 kB / 0.8142 GB, free: 26.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.069, allocations: 4 kB / 0.8142 GB, free: 26.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.069, allocations: 12.36 kB / 0.8142 GB, free: 26.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/1.07, allocations: 287.1 kB / 0.8144 GB, free: 26.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/1.07, allocations: 10.62 kB / 0.8145 GB, free: 26.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.072, allocations: 83.86 kB / 0.8145 GB, free: 26.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/1.072, allocations: 71.59 kB / 0.8146 GB, free: 26.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001099/1.073, allocations: 0.7181 MB / 0.8153 GB, free: 25.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000748/1.074, allocations: 0.6647 MB / 0.816 GB, free: 25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001155/1.075, allocations: 0.9397 MB / 0.8169 GB, free: 24.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.546e-06/1.075, allocations: 0 / 0.8169 GB, free: 24.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.001927/1.077, allocations: 1.381 MB / 0.8182 GB, free: 22.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.077, allocations: 8 kB / 0.8182 GB, free: 22.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/1.077, allocations: 4 kB / 0.8182 GB, free: 22.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.864e-06/1.077, allocations: 8 kB / 0.8182 GB, free: 22.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.078, allocations: 276.6 kB / 0.8185 GB, free: 22.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.078, allocations: 18.53 kB / 0.8185 GB, free: 22.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/1.08, allocations: 91.91 kB / 0.8186 GB, free: 22.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/1.08, allocations: 59.95 kB / 0.8187 GB, free: 22.22 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002754/1.08, allocations: 249 kB / 0.8189 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/1.08, allocations: 201.5 kB / 0.8191 GB, free: 21.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/1.082, allocations: 1.094 MB / 0.8202 GB, free: 20.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.082, allocations: 8 kB / 0.8202 GB, free: 20.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.082, allocations: 0 / 0.8202 GB, free: 20.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/1.082, allocations: 3.984 kB / 0.8202 GB, free: 20.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/1.085, allocations: 2.442 MB / 0.8226 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.085, allocations: 0 / 0.8226 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/1.085, allocations: 138.2 kB / 0.8227 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/1.085, allocations: 7.938 kB / 0.8227 GB, free: 18.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/1.086, allocations: 22.89 kB / 0.8227 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.086, allocations: 4 kB / 0.8227 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.086, allocations: 4 kB / 0.8227 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/1.087, allocations: 1.073 MB / 0.8238 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005751/1.087, allocations: 358.3 kB / 0.8241 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/1.088, allocations: 19.94 kB / 0.8241 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/1.088, allocations: 35.95 kB / 0.8242 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/1.088, allocations: 51.22 kB / 0.8242 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/1.088, allocations: 31.98 kB / 0.8242 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001262/1.09, allocations: 1.244 MB / 0.8255 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.09, allocations: 0 / 0.8255 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001823/1.092, allocations: 0.9121 MB / 0.8264 GB, free: 14.29 MB / 0.5762 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006175/1.092, allocations: 344.2 kB / 0.8267 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002203/1.094, allocations: 1.656 MB / 0.8283 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.094, allocations: 0 / 0.8283 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004944/1.095, allocations: 419.1 kB / 0.8287 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/1.098, allocations: 1.071 MB / 0.8297 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/1.102, allocations: 2.99 MB / 0.8327 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/1.103, allocations: 1.412 MB / 0.834 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001486/1.104, allocations: 412.1 kB / 0.8344 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/1.105, allocations: 159.4 kB / 0.8346 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/1.105, allocations: 0 / 0.8346 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of Templates: time 0.06682/1.171, allocations: 38.38 MB / 0.8721 GB, free: 232 kB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)