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.001101/0.001101, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0017/0.0017, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.068/1.068, allocations: 135.1 MB / 425.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002212, allocations: 68.61 kB / 0.5049 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1655, allocations: 80.93 MB / 0.5839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4664/0.632, allocations: 153 MB / 0.7333 GB, free: 2.637 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04946/0.6815, allocations: 30.17 MB / 0.7627 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007498/0.689, allocations: 123.2 kB / 0.7628 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004173/0.6933, allocations: 0.8701 MB / 0.7637 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.7049, allocations: 2.941 MB / 0.7666 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007079/0.712, allocations: 2.292 MB / 0.7688 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01074/0.7227, allocations: 5.379 MB / 0.7741 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004372/0.7272, allocations: 2.197 MB / 0.7762 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007304/0.7345, allocations: 2.708 MB / 0.7788 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003875/0.7384, allocations: 2.019 MB / 0.7808 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009597/0.7394, allocations: 212 kB / 0.781 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.7427, allocations: 1.092 MB / 0.7821 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.7439, allocations: 0.5526 MB / 0.7826 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002891/0.7468, allocations: 1.275 MB / 0.7839 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006454/0.7533, allocations: 3.286 MB / 0.7871 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.7533, allocations: 0 / 0.7871 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.887e-06/0.7533, allocations: 0 / 0.7871 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001548/0.7535, allocations: 3.938 kB / 0.7871 GB, free: 15.39 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.006635/0.7601, allocations: 2.788 MB / 0.7898 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.7602, allocations: 12.03 kB / 0.7898 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005131/0.7607, allocations: 264.8 kB / 0.7901 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.763, allocations: 1.442 MB / 0.7915 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.949e-05/0.7631, allocations: 106.3 kB / 0.7916 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.7633, allocations: 136 kB / 0.7917 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.7655, allocations: 1.163 MB / 0.7928 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.7655, allocations: 0 / 0.7928 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.7657, allocations: 48 kB / 0.7929 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.7657, allocations: 28 kB / 0.7929 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.7676, allocations: 1.016 MB / 0.7939 GB, free: 8.227 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.01035/0.7779, allocations: 6.311 MB / 0.8001 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.779, allocations: 0.5727 MB / 0.8006 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/0.7796, allocations: 385 kB / 0.801 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004487/0.7801, allocations: 0.5031 MB / 0.8015 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.7801, allocations: 39.12 kB / 0.8015 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001881/0.782, allocations: 302.8 kB / 0.8018 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 3.336e-06/0.782, allocations: 0 / 0.8018 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.002233/0.7843, allocations: 1.16 MB / 0.8029 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.7843, allocations: 67.89 kB / 0.803 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.7871, allocations: 1.892 MB / 0.8049 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.646e-05/0.7872, allocations: 49.7 kB / 0.8049 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000742/0.788, allocations: 0.9261 MB / 0.8058 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.7881, allocations: 201.1 kB / 0.806 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/0.7886, allocations: 306.5 kB / 0.8063 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.7888, allocations: 353.9 kB / 0.8066 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007961/0.7896, allocations: 453.9 kB / 0.8071 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.7907, allocations: 0.6918 MB / 0.8077 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.7924, allocations: 0.9774 MB / 0.8087 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.7924, allocations: 4 kB / 0.8087 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002635/0.795, allocations: 1.431 MB / 0.8101 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.7951, allocations: 6.031 kB / 0.8101 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.7951, allocations: 4 kB / 0.8101 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.7951, allocations: 8 kB / 0.8101 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.7964, allocations: 295.9 kB / 0.8104 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.7964, allocations: 15.88 kB / 0.8104 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.7983, allocations: 149.8 kB / 0.8106 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.7984, allocations: 67.98 kB / 0.8106 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001331/0.7998, allocations: 0.7134 MB / 0.8113 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009976/0.8008, allocations: 0.6684 MB / 0.812 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001465/0.8023, allocations: 0.9422 MB / 0.8129 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/0.8023, allocations: 0 / 0.8129 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002531/0.8048, allocations: 1.377 MB / 0.8142 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.8048, allocations: 12 kB / 0.8142 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8049, allocations: 4 kB / 0.8142 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.8049, allocations: 8 kB / 0.8143 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.8061, allocations: 283.5 kB / 0.8145 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.8061, allocations: 8 kB / 0.8145 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.808, allocations: 155.5 kB / 0.8147 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.8081, allocations: 63.95 kB / 0.8147 GB, free: 1.957 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.0003638/0.8085, allocations: 236 kB / 0.815 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.8088, allocations: 201.5 kB / 0.8152 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.8111, allocations: 1.099 MB / 0.8162 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.8111, allocations: 8 kB / 0.8162 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.8111, allocations: 11.88 kB / 0.8163 GB, free: 408 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.8112, allocations: 3.984 kB / 0.8163 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003865/0.815, allocations: 2.429 MB / 0.8186 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.8151, allocations: 8.031 kB / 0.8186 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.8157, allocations: 139.8 kB / 0.8188 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.8157, allocations: 4 kB / 0.8188 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.8157, allocations: 19.98 kB / 0.8188 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.8158, allocations: 4 kB / 0.8188 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8158, allocations: 0 / 0.8188 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.8174, allocations: 1.078 MB / 0.8198 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006192/0.818, allocations: 354.3 kB / 0.8202 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.8182, allocations: 19.94 kB / 0.8202 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009292/0.8192, allocations: 95.66 kB / 0.8203 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.8193, allocations: 56.53 kB / 0.8204 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.8194, allocations: 27.98 kB / 0.8204 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00175/0.8211, allocations: 1.252 MB / 0.8216 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8211, allocations: 0 / 0.8216 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002256/0.8234, allocations: 0.9044 MB / 0.8225 GB, free: 9.863 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.0007715/0.8242, allocations: 348.7 kB / 0.8228 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003386/0.8276, allocations: 1.7 MB / 0.8245 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.8276, allocations: 0 / 0.8245 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.8282, allocations: 411.5 kB / 0.8249 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/0.8331, allocations: 1.089 MB / 0.8259 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.8389, allocations: 3.716 MB / 0.8296 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.8402, allocations: 1.405 MB / 0.8309 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002087/0.8423, allocations: 401.3 kB / 0.8313 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.8427, allocations: 159.4 kB / 0.8315 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.8427, allocations: 0 / 0.8315 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of Templates: time 0.3568/1.199, allocations: 38.18 MB / 0.8688 GB, free: 215.6 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)