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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 108 kB / 15.61 MB, free: 152 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.001355/0.001355, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9353/0.9353, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 69.95 kB / 0.5055 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1391, allocations: 80.91 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.3837/0.5228, allocations: 154.4 MB / 0.7352 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04064/0.5635, allocations: 30.38 MB / 0.7649 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005115/0.5687, allocations: 139.1 kB / 0.765 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002697/0.5714, allocations: 1.036 MB / 0.766 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007739/0.5792, allocations: 3.166 MB / 0.7691 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005301/0.5845, allocations: 2.47 MB / 0.7715 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005974/0.5905, allocations: 5.36 MB / 0.7768 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/0.5933, allocations: 2.233 MB / 0.7789 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005001/0.5984, allocations: 2.677 MB / 0.7816 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002656/0.601, allocations: 1.965 MB / 0.7835 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003259/0.6014, allocations: 212 kB / 0.7837 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.6036, allocations: 1.084 MB / 0.7847 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004779/0.6041, allocations: 0.5565 MB / 0.7853 GB, free: 336 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.6054, allocations: 1.267 MB / 0.7865 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.6087, allocations: 3.286 MB / 0.7897 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.6087, allocations: 0 / 0.7897 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6088, allocations: 0 / 0.7897 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.527e-05/0.6088, allocations: 0 / 0.7897 GB, free: 11.76 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.004448/0.6132, allocations: 2.792 MB / 0.7925 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.6133, allocations: 8.031 kB / 0.7925 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/0.6135, allocations: 173.4 kB / 0.7926 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.6139, allocations: 264.8 kB / 0.7929 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.6159, allocations: 1.446 MB / 0.7943 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/0.616, allocations: 102.3 kB / 0.7944 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.6162, allocations: 140 kB / 0.7945 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.6181, allocations: 1.167 MB / 0.7957 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.6181, allocations: 0 / 0.7957 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.6182, allocations: 48 kB / 0.7957 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.6182, allocations: 28 kB / 0.7957 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.6199, allocations: 1.013 MB / 0.7967 GB, free: 4.41 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.009011/0.6289, allocations: 6.375 MB / 0.803 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008878/0.6298, allocations: 0.568 MB / 0.8035 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/0.6304, allocations: 385 kB / 0.8039 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003756/0.6308, allocations: 0.507 MB / 0.8044 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6308, allocations: 35.12 kB / 0.8044 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001154/0.632, allocations: 234.9 kB / 0.8046 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 3.347e-06/0.632, allocations: 4 kB / 0.8046 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.002008/0.634, allocations: 1.164 MB / 0.8058 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.634, allocations: 63.91 kB / 0.8058 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.6363, allocations: 1.888 MB / 0.8077 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.47e-05/0.6364, allocations: 53.64 kB / 0.8077 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008156/0.6372, allocations: 0.9185 MB / 0.8086 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.6373, allocations: 197.1 kB / 0.8088 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004569/0.6378, allocations: 310.5 kB / 0.8091 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.638, allocations: 357.9 kB / 0.8094 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007617/0.6387, allocations: 457.9 kB / 0.8099 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009562/0.6397, allocations: 0.6917 MB / 0.8106 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.6412, allocations: 0.9813 MB / 0.8115 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.6412, allocations: 4 kB / 0.8115 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002304/0.6435, allocations: 1.428 MB / 0.8129 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.6435, allocations: 4 kB / 0.8129 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.6435, allocations: 4 kB / 0.8129 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.6436, allocations: 8 kB / 0.8129 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.6448, allocations: 299.8 kB / 0.8132 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.6449, allocations: 8 kB / 0.8132 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.6462, allocations: 91.77 kB / 0.8133 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.6463, allocations: 59.95 kB / 0.8134 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001145/0.6475, allocations: 0.7212 MB / 0.8141 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009062/0.6484, allocations: 0.6684 MB / 0.8147 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001365/0.6498, allocations: 0.9266 MB / 0.8156 GB, free: 128 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/0.6498, allocations: 4 kB / 0.8156 GB, free: 124 kB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00219/0.652, allocations: 1.381 MB / 0.817 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.652, allocations: 6.031 kB / 0.817 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.652, allocations: 4 kB / 0.817 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.652, allocations: 11.94 kB / 0.817 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.6532, allocations: 279.6 kB / 0.8173 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.6532, allocations: 16.22 kB / 0.8173 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.6545, allocations: 99.81 kB / 0.8174 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/0.6546, allocations: 55.95 kB / 0.8174 GB, free: 14.27 MB / 0.6387 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.0002384/0.6549, allocations: 244 kB / 0.8177 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.6551, allocations: 197.5 kB / 0.8179 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.6571, allocations: 1.092 MB / 0.8189 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.6571, allocations: 15.88 kB / 0.8189 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6571, allocations: 0 / 0.8189 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.6572, allocations: 11.98 kB / 0.8189 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.6603, allocations: 2.429 MB / 0.8213 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6603, allocations: 0 / 0.8213 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/0.6609, allocations: 140 kB / 0.8215 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.661, allocations: 4 kB / 0.8215 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.661, allocations: 16 kB / 0.8215 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.661, allocations: 11.92 kB / 0.8215 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.661, allocations: 4 kB / 0.8215 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.6625, allocations: 1.066 MB / 0.8225 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000473/0.663, allocations: 366.3 kB / 0.8229 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.6632, allocations: 16 kB / 0.8229 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007673/0.6639, allocations: 35.95 kB / 0.8229 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6641, allocations: 56.53 kB / 0.823 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.6641, allocations: 27.92 kB / 0.823 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00163/0.6658, allocations: 1.248 MB / 0.8242 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6658, allocations: 0 / 0.8242 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001986/0.6678, allocations: 0.9082 MB / 0.8251 GB, free: 6.242 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.002254/0.67, allocations: 1.853 MB / 0.8269 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002864/0.6729, allocations: 1.704 MB / 0.8286 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6729, allocations: 0 / 0.8286 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.6735, allocations: 416 kB / 0.829 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004208/0.6777, allocations: 1.093 MB / 0.8301 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.696, allocations: 15.14 MB / 0.8448 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000941/0.697, allocations: 1.405 MB / 0.8462 GB, free: 15.43 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001982/0.699, allocations: 400 kB / 0.8466 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.7, allocations: 0.8273 MB / 0.8474 GB, free: 14.21 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.7, allocations: 0 / 0.8474 GB, free: 14.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3204/1.02, allocations: 55.59 MB / 0.9017 GB, free: 211.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.408/10.43, allocations: 15.33 kB / 0.9017 GB, free: 211.9 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)