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.0008181/0.0008183, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008944/0.0008945, allocations: 183.4 kB / 16.92 MB, free: 6.918 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.308/1.308, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9284/0.9284, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1499, allocations: 82.31 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.3944/0.5443, allocations: 151 MB / 0.7361 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03983/0.5842, allocations: 30.12 MB / 0.7655 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005023/0.5892, allocations: 123.1 kB / 0.7656 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.592, allocations: 0.8272 MB / 0.7664 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008208/0.6002, allocations: 2.9 MB / 0.7693 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005806/0.6061, allocations: 2.292 MB / 0.7715 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008677/0.6147, allocations: 7.392 MB / 0.7787 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/0.6176, allocations: 1.847 MB / 0.7805 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005009/0.6226, allocations: 2.36 MB / 0.7828 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002913/0.6255, allocations: 1.91 MB / 0.7847 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.6259, allocations: 96 kB / 0.7848 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.628, allocations: 0.9319 MB / 0.7857 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004411/0.6284, allocations: 445.8 kB / 0.7861 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.6298, allocations: 1.144 MB / 0.7872 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.6323, allocations: 2.431 MB / 0.7896 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6323, allocations: 0 / 0.7896 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6323, allocations: 0 / 0.7896 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.73e-05/0.6323, allocations: 0 / 0.7896 GB, free: 14.29 MB / 0.6075 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.004286/0.6366, allocations: 2.344 MB / 0.7919 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.6367, allocations: 8.031 kB / 0.7919 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.6371, allocations: 264.8 kB / 0.7922 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.6393, allocations: 1.442 MB / 0.7936 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.6394, allocations: 106.3 kB / 0.7937 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.6396, allocations: 136 kB / 0.7938 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.6417, allocations: 1.171 MB / 0.7949 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.6418, allocations: 4 kB / 0.795 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.6419, allocations: 44 kB / 0.795 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.6419, allocations: 28 kB / 0.795 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.6437, allocations: 1.024 MB / 0.796 GB, free: 7.559 MB / 0.6075 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.009685/0.6534, allocations: 6.362 MB / 0.8022 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009298/0.6544, allocations: 0.5689 MB / 0.8028 GB, free: 164 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/0.655, allocations: 391.6 kB / 0.8032 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003991/0.6554, allocations: 0.5031 MB / 0.8037 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.6554, allocations: 39.12 kB / 0.8037 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001499/0.6569, allocations: 338.7 kB / 0.804 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 3.226e-06/0.657, allocations: 0 / 0.804 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.002035/0.659, allocations: 1.141 MB / 0.8051 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.6591, allocations: 63.91 kB / 0.8052 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.6614, allocations: 1.896 MB / 0.807 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.6615, allocations: 41.7 kB / 0.8071 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007361/0.6623, allocations: 0.9262 MB / 0.808 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.6624, allocations: 201.1 kB / 0.8082 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.6626, allocations: 117.6 kB / 0.8083 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6627, allocations: 353.9 kB / 0.8086 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007822/0.6635, allocations: 442.4 kB / 0.809 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000974/0.6645, allocations: 0.684 MB / 0.8097 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.666, allocations: 0.9618 MB / 0.8107 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.6661, allocations: 0 / 0.8107 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002429/0.6685, allocations: 1.412 MB / 0.812 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.6686, allocations: 198.5 kB / 0.8122 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6686, allocations: 4 kB / 0.8122 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6687, allocations: 8 kB / 0.8122 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.6699, allocations: 287.5 kB / 0.8125 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.6699, allocations: 8 kB / 0.8125 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.6717, allocations: 159.5 kB / 0.8127 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.6718, allocations: 63.95 kB / 0.8127 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-06/0.6718, allocations: 0 / 0.8127 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001947/0.6738, allocations: 1.155 MB / 0.8139 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6738, allocations: 3.938 kB / 0.8139 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.6738, allocations: 8 kB / 0.8139 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.675, allocations: 284 kB / 0.8141 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.675, allocations: 15.92 kB / 0.8142 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.6766, allocations: 151.6 kB / 0.8143 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.6767, allocations: 55.95 kB / 0.8144 GB, free: 3.938 MB / 0.6231 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.00075/0.6774, allocations: 452.8 kB / 0.8148 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.6777, allocations: 201.4 kB / 0.815 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.6797, allocations: 1.072 MB / 0.816 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.6797, allocations: 12 kB / 0.816 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6798, allocations: 0 / 0.816 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.6798, allocations: 7.922 kB / 0.816 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.6833, allocations: 2.413 MB / 0.8184 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.6833, allocations: 3.938 kB / 0.8184 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.6839, allocations: 139.8 kB / 0.8185 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.6839, allocations: 4 kB / 0.8185 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.6839, allocations: 23.94 kB / 0.8186 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.684, allocations: 12.12 kB / 0.8186 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.684, allocations: 4.094 kB / 0.8186 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.6854, allocations: 1.058 MB / 0.8196 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/0.686, allocations: 382.1 kB / 0.82 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.6862, allocations: 12 kB / 0.82 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009546/0.6872, allocations: 103.7 kB / 0.8201 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.6873, allocations: 48.59 kB / 0.8201 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.6874, allocations: 31.98 kB / 0.8202 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001644/0.689, allocations: 1.252 MB / 0.8214 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.2e-07/0.689, allocations: 0 / 0.8214 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002078/0.6911, allocations: 0.9043 MB / 0.8223 GB, free: 11.67 MB / 0.6387 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.0006325/0.6917, allocations: 340.8 kB / 0.8226 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002713/0.6945, allocations: 1.621 MB / 0.8242 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6945, allocations: 0 / 0.8242 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006167/0.6951, allocations: 413.1 kB / 0.8246 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006315/0.7014, allocations: 1.133 MB / 0.8257 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/0.7066, allocations: 3.77 MB / 0.8294 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008788/0.7075, allocations: 1.405 MB / 0.8307 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/0.708, allocations: 159.4 kB / 0.8309 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/0.708, allocations: 0 / 0.8309 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of Templates: time 0.04348/0.7515, allocations: 30.77 MB / 0.8609 GB, free: 4.328 MB / 0.67 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)