Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.Examples.TwoWayValveTRV,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV",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.0009102/0.0009103, allocations: 91.84 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.004902/0.004902, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8429/0.8429, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 9.031 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 82.3 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.2876/0.4297, allocations: 21.59 MB / 0.6092 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005918/0.4356, allocations: 5.198 MB / 0.6142 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005309/0.4362, allocations: 25.06 kB / 0.6143 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.4369, allocations: 254 kB / 0.6145 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.4385, allocations: 0.7921 MB / 0.6153 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.4399, allocations: 0.6578 MB / 0.6159 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.4414, allocations: 1.868 MB / 0.6177 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.4419, allocations: 441.6 kB / 0.6182 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.4426, allocations: 0.5424 MB / 0.6187 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.4431, allocations: 466.4 kB / 0.6191 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.4431, allocations: 20.62 kB / 0.6192 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000861/0.444, allocations: 0.5842 MB / 0.6197 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.4441, allocations: 110.8 kB / 0.6198 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.4443, allocations: 348.7 kB / 0.6202 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000788/0.4451, allocations: 1.009 MB / 0.6212 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4452, allocations: 0 / 0.6212 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4452, allocations: 0 / 0.6212 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.4452, allocations: 3.938 kB / 0.6212 GB, free: 32.48 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00128/0.4465, allocations: 0.939 MB / 0.6221 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.4465, allocations: 9.188 kB / 0.6221 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.801e-05/0.4466, allocations: 65.7 kB / 0.6221 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.282e-05/0.4467, allocations: 78.94 kB / 0.6222 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.4473, allocations: 0.5558 MB / 0.6228 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.4473, allocations: 25.62 kB / 0.6228 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.4474, allocations: 37.09 kB / 0.6228 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.4479, allocations: 319.3 kB / 0.6231 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4479, allocations: 0 / 0.6231 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.448, allocations: 14.72 kB / 0.6231 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.448, allocations: 13.31 kB / 0.6232 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.4485, allocations: 269.6 kB / 0.6234 GB, free: 31.42 MB / 0.4981 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.001979/0.4505, allocations: 1.579 MB / 0.625 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.4508, allocations: 201.6 kB / 0.6251 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.451, allocations: 100.8 kB / 0.6252 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.4512, allocations: 420.8 kB / 0.6256 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.4513, allocations: 33.62 kB / 0.6257 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.4513, allocations: 0 / 0.6257 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006643/0.4519, allocations: 345.1 kB / 0.626 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.452, allocations: 57.95 kB / 0.6261 GB, free: 29.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/0.4526, allocations: 0.6549 MB / 0.6267 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.4526, allocations: 33.33 kB / 0.6267 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.4528, allocations: 296.8 kB / 0.627 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.4528, allocations: 72.98 kB / 0.6271 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.4529, allocations: 50.47 kB / 0.6271 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.453, allocations: 373.6 kB / 0.6275 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.4532, allocations: 137.2 kB / 0.6276 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.4536, allocations: 211.5 kB / 0.6278 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.454, allocations: 303.6 kB / 0.6281 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.454, allocations: 3 kB / 0.6281 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000702/0.4548, allocations: 460.7 kB / 0.6285 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.4548, allocations: 117.8 kB / 0.6287 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4548, allocations: 3.312 kB / 0.6287 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4548, allocations: 2.375 kB / 0.6287 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007733/0.4556, allocations: 142.7 kB / 0.6288 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004309/0.4561, allocations: 1.199 MB / 0.63 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.4565, allocations: 61.69 kB / 0.63 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.4566, allocations: 21.56 kB / 0.6301 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-06/0.4566, allocations: 4.969 kB / 0.6301 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006217/0.4572, allocations: 372.2 kB / 0.6304 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4572, allocations: 10.7 kB / 0.6304 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-06/0.4572, allocations: 2.875 kB / 0.6304 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.4577, allocations: 115.5 kB / 0.6305 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4577, allocations: 6.906 kB / 0.6305 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.4581, allocations: 55.08 kB / 0.6306 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.4581, allocations: 15.44 kB / 0.6306 GB, free: 27.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.4583, allocations: 269.8 kB / 0.6309 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.4584, allocations: 61.78 kB / 0.6309 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/0.459, allocations: 339.5 kB / 0.6313 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.459, allocations: 3.938 kB / 0.6313 GB, free: 27.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.459, allocations: 2.625 kB / 0.6313 GB, free: 27.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.459, allocations: 0 / 0.6313 GB, free: 27.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.46, allocations: 0.9146 MB / 0.6322 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4601, allocations: 2.812 kB / 0.6322 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.4603, allocations: 51.86 kB / 0.6322 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4603, allocations: 6.844 kB / 0.6322 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.4604, allocations: 11.09 kB / 0.6322 GB, free: 26.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003117/0.4607, allocations: 1.181 MB / 0.6334 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4607, allocations: 7.031 kB / 0.6334 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.4614, allocations: 0.5317 MB / 0.6339 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.4615, allocations: 174.5 kB / 0.6341 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.4616, allocations: 6.875 kB / 0.6341 GB, free: 25.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.4619, allocations: 44.31 kB / 0.6341 GB, free: 25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.462, allocations: 16.11 kB / 0.6341 GB, free: 24.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.462, allocations: 14.25 kB / 0.6341 GB, free: 24.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000441/0.4625, allocations: 449 kB / 0.6346 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4625, allocations: 0 / 0.6346 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007392/0.4632, allocations: 302 kB / 0.6349 GB, free: 24.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.4644, allocations: 1.21 MB / 0.636 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.4656, allocations: 0.5439 MB / 0.6366 GB, free: 23.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4656, allocations: 0 / 0.6366 GB, free: 23.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.466, allocations: 136.9 kB / 0.6367 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.4675, allocations: 296.9 kB / 0.637 GB, free: 23.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/0.4731, allocations: 5.09 MB / 0.642 GB, free: 20.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.4734, allocations: 0.8903 MB / 0.6428 GB, free: 19.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004158/0.4738, allocations: 118.5 kB / 0.6429 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.4741, allocations: 222.1 kB / 0.6432 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.4741, allocations: 4 kB / 0.6432 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05568/0.5298, allocations: 16.43 MB / 0.6592 GB, free: 18.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.53, allocations: 270.7 kB / 0.6595 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/2.73, allocations: 0 / 0.6595 GB, free: 18.15 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)