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.0009434/0.0009435, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00706/0.00706, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.245/1.245, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7239/0.7239, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 8 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3549, allocations: 81.57 MB / 0.5837 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1314/0.4864, allocations: 151 MB / 0.7312 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03639/0.5229, allocations: 30.12 MB / 0.7607 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004389/0.5273, allocations: 119.2 kB / 0.7608 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00244/0.5298, allocations: 0.8272 MB / 0.7616 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007284/0.5371, allocations: 2.885 MB / 0.7644 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005024/0.5421, allocations: 2.303 MB / 0.7666 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007647/0.5497, allocations: 7.389 MB / 0.7739 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.5522, allocations: 1.847 MB / 0.7757 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004366/0.5566, allocations: 2.368 MB / 0.778 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.5591, allocations: 1.898 MB / 0.7798 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000211/0.5594, allocations: 96 kB / 0.7799 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.5611, allocations: 0.9358 MB / 0.7808 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003769/0.5615, allocations: 449.8 kB / 0.7813 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.5626, allocations: 1.148 MB / 0.7824 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.5653, allocations: 3.129 MB / 0.7854 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5654, allocations: 0 / 0.7854 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5654, allocations: 0 / 0.7854 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.5654, allocations: 0 / 0.7854 GB, free: 1.27 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.003753/0.5691, allocations: 2.348 MB / 0.7877 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.5692, allocations: 12.03 kB / 0.7877 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000193/0.5694, allocations: 173.4 kB / 0.7879 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.5697, allocations: 264.8 kB / 0.7882 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.5716, allocations: 1.438 MB / 0.7896 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/0.5716, allocations: 102.3 kB / 0.7897 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.5718, allocations: 139.9 kB / 0.7898 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.5737, allocations: 1.171 MB / 0.7909 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.5738, allocations: 0 / 0.7909 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.5739, allocations: 48 kB / 0.791 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.5739, allocations: 28 kB / 0.791 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.5756, allocations: 1.028 MB / 0.792 GB, free: 10.35 MB / 0.6231 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.008401/0.584, allocations: 6.354 MB / 0.7982 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008545/0.5849, allocations: 0.5761 MB / 0.7988 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/0.5855, allocations: 386.4 kB / 0.7992 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/0.5858, allocations: 0.507 MB / 0.7997 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.5858, allocations: 39.12 kB / 0.7997 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001247/0.5871, allocations: 330.7 kB / 0.8 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 2.164e-06/0.5871, allocations: 0 / 0.8 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.001767/0.5889, allocations: 1.141 MB / 0.8011 GB, free: 432 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.5889, allocations: 59.97 kB / 0.8012 GB, free: 360 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.5909, allocations: 1.896 MB / 0.803 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.892e-05/0.591, allocations: 53.7 kB / 0.8031 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/0.5917, allocations: 0.9145 MB / 0.804 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.5918, allocations: 201.1 kB / 0.8042 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.592, allocations: 121.6 kB / 0.8043 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5921, allocations: 349.9 kB / 0.8046 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/0.5928, allocations: 438.4 kB / 0.805 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009163/0.5938, allocations: 0.6956 MB / 0.8057 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.5952, allocations: 0.9579 MB / 0.8066 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5952, allocations: 0 / 0.8066 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002128/0.5973, allocations: 1.404 MB / 0.808 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.897e-05/0.5974, allocations: 202.5 kB / 0.8082 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5974, allocations: 4 kB / 0.8082 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.5974, allocations: 8 kB / 0.8082 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.5986, allocations: 283.6 kB / 0.8085 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.5986, allocations: 15.98 kB / 0.8085 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.6001, allocations: 155.6 kB / 0.8087 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.663e-05/0.6002, allocations: 59.95 kB / 0.8087 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/0.6002, allocations: 7.938 kB / 0.8087 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001783/0.602, allocations: 1.151 MB / 0.8098 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.602, allocations: 4.375 kB / 0.8099 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.602, allocations: 12 kB / 0.8099 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.6031, allocations: 283.6 kB / 0.8101 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.6031, allocations: 11.94 kB / 0.8101 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.6044, allocations: 159.5 kB / 0.8103 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/0.6045, allocations: 55.95 kB / 0.8103 GB, free: 6.715 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.0006198/0.6051, allocations: 444.8 kB / 0.8108 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.6053, allocations: 205.5 kB / 0.811 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.6072, allocations: 1.083 MB / 0.812 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.6072, allocations: 8 kB / 0.812 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6072, allocations: 3.938 kB / 0.812 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.6072, allocations: 3.984 kB / 0.812 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.6103, allocations: 2.413 MB / 0.8144 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6103, allocations: 4 kB / 0.8144 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.6108, allocations: 144 kB / 0.8145 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6108, allocations: 4 kB / 0.8145 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.6109, allocations: 16 kB / 0.8146 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.6109, allocations: 4 kB / 0.8146 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6109, allocations: 7.938 kB / 0.8146 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.6122, allocations: 1.062 MB / 0.8156 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004548/0.6126, allocations: 378.2 kB / 0.816 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.6128, allocations: 16 kB / 0.816 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008757/0.6137, allocations: 103.7 kB / 0.8161 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/0.6138, allocations: 48.53 kB / 0.8161 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.6138, allocations: 31.98 kB / 0.8162 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.2412/0.855, allocations: 1.244 MB / 0.8174 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.91e-07/0.8551, allocations: 0 / 0.8174 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002458/0.8575, allocations: 0.9003 MB / 0.8183 GB, free: 216.2 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.002135/0.8597, allocations: 1.843 MB / 0.8201 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002744/0.8624, allocations: 1.626 MB / 0.8216 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8625, allocations: 1.375 kB / 0.8216 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.8631, allocations: 396.7 kB / 0.822 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006067/0.8691, allocations: 1.135 MB / 0.8231 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/0.892, allocations: 15.72 MB / 0.8385 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/0.8928, allocations: 1.404 MB / 0.8399 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001937/0.8947, allocations: 410.7 kB / 0.8402 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000839/0.8956, allocations: 0.8269 MB / 0.8411 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of SimCode: time 8.61e-07/0.8956, allocations: 3.938 kB / 0.8411 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2135/1.109, allocations: 53.87 MB / 0.8937 GB, free: 155.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/1.109, allocations: 260.1 kB / 0.8939 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/4.363, allocations: 0 / 0.8939 GB, free: 155.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/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)