Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_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.0007891/0.0007893, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.000799/0.0007988, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7546/0.7546, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 8.5 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4314, allocations: 81.57 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1428/0.5742, allocations: 142.7 MB / 0.7225 GB, free: 1.562 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03868/0.6129, allocations: 28.59 MB / 0.7504 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006235/0.6192, allocations: 127.1 kB / 0.7505 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.6222, allocations: 0.6905 MB / 0.7512 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007611/0.6299, allocations: 2.502 MB / 0.7536 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005608/0.6355, allocations: 2.004 MB / 0.7556 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009046/0.6445, allocations: 6.252 MB / 0.7617 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004385/0.6489, allocations: 1.661 MB / 0.7633 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00607/0.655, allocations: 2.212 MB / 0.7655 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003722/0.6588, allocations: 1.793 MB / 0.7672 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006411/0.6594, allocations: 96 kB / 0.7673 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.6621, allocations: 0.8578 MB / 0.7682 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006588/0.6627, allocations: 410.1 kB / 0.7686 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.6638, allocations: 468.5 kB / 0.769 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.6669, allocations: 2.412 MB / 0.7714 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6669, allocations: 4 kB / 0.7714 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6669, allocations: 0 / 0.7714 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001307/0.667, allocations: 0 / 0.7714 GB, free: 15.41 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.004852/0.6719, allocations: 2.371 MB / 0.7737 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.6719, allocations: 8.031 kB / 0.7737 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000351/0.6723, allocations: 173.4 kB / 0.7739 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004747/0.6728, allocations: 264.8 kB / 0.7741 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.6749, allocations: 1.369 MB / 0.7754 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.29e-05/0.675, allocations: 106.3 kB / 0.7755 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.6752, allocations: 140 kB / 0.7757 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.6772, allocations: 1.159 MB / 0.7768 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.6772, allocations: 0 / 0.7768 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-05/0.6774, allocations: 48 kB / 0.7769 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.6774, allocations: 28 kB / 0.7769 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.6791, allocations: 1.016 MB / 0.7779 GB, free: 8.555 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.009089/0.6882, allocations: 6.35 MB / 0.7841 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009415/0.6892, allocations: 0.5761 MB / 0.7846 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/0.6897, allocations: 382.5 kB / 0.785 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/0.6902, allocations: 0.5108 MB / 0.7855 GB, free: 156 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.6902, allocations: 43.12 kB / 0.7855 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001387/0.6916, allocations: 330.7 kB / 0.7859 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 5.53e-06/0.6917, allocations: 0 / 0.7859 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.00206/0.6937, allocations: 1.129 MB / 0.787 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.6938, allocations: 59.97 kB / 0.787 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.6964, allocations: 1.881 MB / 0.7889 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.6965, allocations: 41.7 kB / 0.7889 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008386/0.6973, allocations: 0.9224 MB / 0.7898 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.6975, allocations: 201.1 kB / 0.79 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.6976, allocations: 20 kB / 0.79 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.6978, allocations: 353.9 kB / 0.7903 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007771/0.6986, allocations: 414.4 kB / 0.7907 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009956/0.6996, allocations: 0.666 MB / 0.7914 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009053/0.7005, allocations: 0.4944 MB / 0.7919 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7005, allocations: 0 / 0.7919 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002248/0.7027, allocations: 1.369 MB / 0.7932 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.7029, allocations: 190.5 kB / 0.7934 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.7029, allocations: 4 kB / 0.7934 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.703, allocations: 8 kB / 0.7934 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.7042, allocations: 287.5 kB / 0.7937 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.007e-05/0.7043, allocations: 11.94 kB / 0.7937 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.7058, allocations: 163.5 kB / 0.7938 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.7059, allocations: 55.95 kB / 0.7939 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.7059, allocations: 4 kB / 0.7939 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001873/0.7078, allocations: 1.139 MB / 0.795 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.7078, allocations: 7.938 kB / 0.795 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.7079, allocations: 8 kB / 0.795 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.709, allocations: 287.9 kB / 0.7953 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.709, allocations: 19.94 kB / 0.7953 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.7105, allocations: 151.5 kB / 0.7955 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.7106, allocations: 59.95 kB / 0.7955 GB, free: 5.672 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008259/0.7114, allocations: 444.8 kB / 0.796 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.7118, allocations: 205.4 kB / 0.7961 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.7138, allocations: 1.071 MB / 0.7972 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.7138, allocations: 8.094 kB / 0.7972 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.7138, allocations: 15.88 kB / 0.7972 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.7139, allocations: 7.984 kB / 0.7972 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.7175, allocations: 2.41 MB / 0.7996 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.7175, allocations: 0 / 0.7996 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.7181, allocations: 143.8 kB / 0.7997 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.7181, allocations: 4 kB / 0.7997 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.7181, allocations: 19.98 kB / 0.7997 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.7182, allocations: 4 kB / 0.7997 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.7182, allocations: 8.188 kB / 0.7997 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.7195, allocations: 1.058 MB / 0.8008 GB, free: 168 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00064/0.7202, allocations: 378.3 kB / 0.8011 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.7205, allocations: 15.98 kB / 0.8012 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000888/0.7213, allocations: 99.7 kB / 0.8013 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.7215, allocations: 48.58 kB / 0.8013 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.7215, allocations: 28 kB / 0.8013 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00168/0.7232, allocations: 1.233 MB / 0.8025 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7232, allocations: 0 / 0.8025 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002144/0.7254, allocations: 0.8927 MB / 0.8034 GB, free: 13.44 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 (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.002302/0.7277, allocations: 1.84 MB / 0.8052 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002708/0.7304, allocations: 1.58 MB / 0.8067 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7304, allocations: 0 / 0.8067 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/0.731, allocations: 415.4 kB / 0.8071 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004898/0.7359, allocations: 1.125 MB / 0.8082 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2963/1.032, allocations: 11.23 MB / 0.8192 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.033, allocations: 1.406 MB / 0.8206 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002147/1.036, allocations: 400.2 kB / 0.821 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.037, allocations: 0.831 MB / 0.8218 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.503e-06/1.037, allocations: 0 / 0.8218 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08121/1.118, allocations: 53.69 MB / 0.8742 GB, free: 174.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/1.118, allocations: 244.7 kB / 0.8744 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/4.329, allocations: 0 / 0.8744 GB, free: 174.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: