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.0009546/0.0009546, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.00102/0.00102, allocations: 182.9 kB / 16.28 MB, free: 6.656 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.313/1.313, 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-master/package.mo): time 0.8767/0.8767, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002864, allocations: 12 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 82.31 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.3291/0.4613, allocations: 151 MB / 0.7356 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0356/0.497, allocations: 30.13 MB / 0.765 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004483/0.5015, allocations: 127.1 kB / 0.7651 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.5036, allocations: 0.8194 MB / 0.7659 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006623/0.5102, allocations: 2.896 MB / 0.7687 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004837/0.5151, allocations: 2.287 MB / 0.771 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006845/0.5219, allocations: 7.384 MB / 0.7782 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.5241, allocations: 1.851 MB / 0.78 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003994/0.5281, allocations: 2.368 MB / 0.7823 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.5303, allocations: 1.902 MB / 0.7842 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.5305, allocations: 100 kB / 0.7843 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.5322, allocations: 0.9397 MB / 0.7852 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.5326, allocations: 441.8 kB / 0.7856 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009339/0.5335, allocations: 1.14 MB / 0.7867 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.536, allocations: 3.126 MB / 0.7898 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.536, allocations: 0 / 0.7898 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.536, allocations: 0 / 0.7898 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.536, allocations: 0 / 0.7898 GB, free: 13.5 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.003611/0.5397, allocations: 2.345 MB / 0.7921 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.5397, allocations: 8.031 kB / 0.7921 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.5399, allocations: 177.4 kB / 0.7922 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.5402, allocations: 264.8 kB / 0.7925 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.542, allocations: 1.438 MB / 0.7939 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.915e-05/0.5421, allocations: 110.3 kB / 0.794 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.5423, allocations: 136 kB / 0.7941 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.5441, allocations: 1.167 MB / 0.7953 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.5441, allocations: 11.88 kB / 0.7953 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.366e-05/0.5442, allocations: 44 kB / 0.7953 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.5443, allocations: 28 kB / 0.7953 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.5459, allocations: 1.028 MB / 0.7963 GB, free: 6.574 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.007982/0.5539, allocations: 6.352 MB / 0.8026 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008327/0.5547, allocations: 0.5759 MB / 0.8031 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/0.5553, allocations: 386.4 kB / 0.8035 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.5557, allocations: 0.507 MB / 0.804 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.5557, allocations: 39.12 kB / 0.804 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001118/0.5568, allocations: 334.7 kB / 0.8043 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 3.256e-06/0.5568, allocations: 0 / 0.8043 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.001767/0.5586, allocations: 1.137 MB / 0.8054 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.5587, allocations: 63.91 kB / 0.8055 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.5606, allocations: 1.896 MB / 0.8074 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/0.5607, allocations: 45.7 kB / 0.8074 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/0.5614, allocations: 0.9223 MB / 0.8083 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.5615, allocations: 201.1 kB / 0.8085 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.5617, allocations: 117.6 kB / 0.8086 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5618, allocations: 353.9 kB / 0.8089 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/0.5625, allocations: 446.4 kB / 0.8094 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008985/0.5634, allocations: 0.6801 MB / 0.81 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.5648, allocations: 0.9618 MB / 0.811 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5648, allocations: 0 / 0.811 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002099/0.5669, allocations: 1.412 MB / 0.8124 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.567, allocations: 194.2 kB / 0.8125 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.5671, allocations: 4 kB / 0.8125 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5671, allocations: 8 kB / 0.8125 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.5682, allocations: 291.5 kB / 0.8128 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.5683, allocations: 8 kB / 0.8128 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.5697, allocations: 155.6 kB / 0.813 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.637e-05/0.5698, allocations: 59.89 kB / 0.813 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.5698, allocations: 8 kB / 0.813 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001764/0.5716, allocations: 1.155 MB / 0.8142 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5716, allocations: 8 kB / 0.8142 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.5716, allocations: 11.94 kB / 0.8142 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.5727, allocations: 283.6 kB / 0.8145 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.5728, allocations: 15.98 kB / 0.8145 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.5741, allocations: 159.5 kB / 0.8146 GB, free: 3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/0.5742, allocations: 59.89 kB / 0.8147 GB, free: 2.941 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.0005829/0.5748, allocations: 444.8 kB / 0.8151 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.575, allocations: 201.4 kB / 0.8153 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.5768, allocations: 1.075 MB / 0.8164 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5768, allocations: 8 kB / 0.8164 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5768, allocations: 0 / 0.8164 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5768, allocations: 7.922 kB / 0.8164 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.5799, allocations: 2.417 MB / 0.8187 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5799, allocations: 192 / 0.8187 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.5805, allocations: 147.8 kB / 0.8189 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5805, allocations: 4 kB / 0.8189 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.5805, allocations: 16 kB / 0.8189 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.5805, allocations: 7.938 kB / 0.8189 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5805, allocations: 0 / 0.8189 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.5818, allocations: 1.066 MB / 0.8199 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.5823, allocations: 382.1 kB / 0.8203 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.5825, allocations: 12 kB / 0.8203 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008895/0.5834, allocations: 103.7 kB / 0.8204 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/0.5835, allocations: 44.59 kB / 0.8205 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.5835, allocations: 31.98 kB / 0.8205 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001424/0.5849, allocations: 1.248 MB / 0.8217 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5849, allocations: 0 / 0.8217 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001688/0.5866, allocations: 0.9004 MB / 0.8226 GB, free: 10.69 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.001994/0.5886, allocations: 1.843 MB / 0.8244 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.591, allocations: 1.622 MB / 0.826 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.591, allocations: 0 / 0.826 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.5916, allocations: 405 kB / 0.8264 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005407/0.597, allocations: 1.131 MB / 0.8275 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/0.6174, allocations: 15.73 MB / 0.8428 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/0.6183, allocations: 1.409 MB / 0.8442 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00152/0.6198, allocations: 405.7 kB / 0.8446 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009239/0.6207, allocations: 0.8273 MB / 0.8454 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.6207, allocations: 0 / 0.8454 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.011/3.632, allocations: 53.87 MB / 0.898 GB, free: 209.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/3.632, allocations: 261.2 kB / 0.8982 GB, free: 209 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.519/8.151, allocations: 0 / 0.8982 GB, free: 209 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)