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.001005/0.001005, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001299/0.0013, allocations: 168.7 kB / 15.95 MB, free: 204 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.844/1.844, allocations: 223.2 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 19.98 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2091, allocations: 82.31 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.3915/0.6007, allocations: 20.47 MB / 0.6075 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006675/0.6074, allocations: 4.915 MB / 0.6123 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009783/0.6084, allocations: 18.09 kB / 0.6123 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008915/0.6094, allocations: 220.3 kB / 0.6125 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.6116, allocations: 0.684 MB / 0.6132 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.6133, allocations: 0.5714 MB / 0.6137 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.615, allocations: 1.623 MB / 0.6153 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005209/0.6155, allocations: 387 kB / 0.6157 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007614/0.6163, allocations: 0.5157 MB / 0.6162 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004779/0.6168, allocations: 435.8 kB / 0.6166 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.6168, allocations: 21.97 kB / 0.6166 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009686/0.6178, allocations: 0.5201 MB / 0.6171 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.6179, allocations: 116.8 kB / 0.6172 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.6181, allocations: 154.5 kB / 0.6174 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.6187, allocations: 0.7543 MB / 0.6181 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6187, allocations: 0 / 0.6181 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6188, allocations: 0 / 0.6181 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.6188, allocations: 0 / 0.6181 GB, free: 33.86 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.001303/0.6201, allocations: 0.9405 MB / 0.619 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6201, allocations: 8.875 kB / 0.6191 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.6202, allocations: 64.44 kB / 0.6191 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.368e-05/0.6203, allocations: 86.41 kB / 0.6192 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.6209, allocations: 0.5297 MB / 0.6197 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.621, allocations: 31.03 kB / 0.6197 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.621, allocations: 37.41 kB / 0.6198 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.6215, allocations: 319.8 kB / 0.6201 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.6216, allocations: 3.938 kB / 0.6201 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.6216, allocations: 13.33 kB / 0.6201 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.6216, allocations: 19.2 kB / 0.6201 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.6221, allocations: 263.8 kB / 0.6204 GB, free: 32.82 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.001898/0.624, allocations: 1.578 MB / 0.6219 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.6243, allocations: 191.5 kB / 0.6221 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.6244, allocations: 94.08 kB / 0.6222 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.6247, allocations: 423.3 kB / 0.6226 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.6247, allocations: 41.47 kB / 0.6226 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 2.064e-06/0.6247, allocations: 0 / 0.6226 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.000638/0.6254, allocations: 343.8 kB / 0.623 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.6254, allocations: 55.41 kB / 0.623 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.626, allocations: 0.6413 MB / 0.6236 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.6261, allocations: 33.36 kB / 0.6237 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.6262, allocations: 305.3 kB / 0.624 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.6263, allocations: 72.5 kB / 0.624 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.6263, allocations: 6.906 kB / 0.624 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.6264, allocations: 372.8 kB / 0.6244 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.6266, allocations: 129.2 kB / 0.6245 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.6269, allocations: 208.4 kB / 0.6247 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.6272, allocations: 152.2 kB / 0.6249 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6272, allocations: 0 / 0.6249 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006514/0.6279, allocations: 459.3 kB / 0.6253 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.6279, allocations: 119 kB / 0.6254 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6279, allocations: 2.516 kB / 0.6254 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.6279, allocations: 6.969 kB / 0.6254 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.6287, allocations: 144 kB / 0.6256 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004094/0.6291, allocations: 1.196 MB / 0.6267 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.6295, allocations: 64.88 kB / 0.6268 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.6296, allocations: 20.41 kB / 0.6268 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.6296, allocations: 7.125 kB / 0.6268 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005685/0.6302, allocations: 365.7 kB / 0.6272 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.6302, allocations: 0 / 0.6272 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.438e-06/0.6302, allocations: 2.844 kB / 0.6272 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.6307, allocations: 120.4 kB / 0.6273 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6307, allocations: 6.406 kB / 0.6273 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.631, allocations: 58.44 kB / 0.6273 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.6311, allocations: 23.53 kB / 0.6274 GB, free: 29.2 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.6313, allocations: 269.4 kB / 0.6276 GB, free: 29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.6314, allocations: 57.5 kB / 0.6277 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005886/0.632, allocations: 331.1 kB / 0.628 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.632, allocations: 3.328 kB / 0.628 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.632, allocations: 0 / 0.628 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.632, allocations: 3 kB / 0.628 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.633, allocations: 0.9142 MB / 0.6289 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.633, allocations: 2.594 kB / 0.6289 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.6333, allocations: 56.31 kB / 0.6289 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.6333, allocations: 10.23 kB / 0.629 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.6333, allocations: 6.438 kB / 0.629 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003233/0.6336, allocations: 1.175 MB / 0.6301 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.6337, allocations: 8.125 kB / 0.6301 GB, free: 27.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.6343, allocations: 0.527 MB / 0.6306 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.6345, allocations: 182.5 kB / 0.6308 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.6345, allocations: 13.41 kB / 0.6308 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.6348, allocations: 28.39 kB / 0.6308 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.6349, allocations: 22.17 kB / 0.6309 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.6349, allocations: 5.906 kB / 0.6309 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004503/0.6354, allocations: 448.8 kB / 0.6313 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6354, allocations: 0 / 0.6313 GB, free: 26.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007845/0.6362, allocations: 297.6 kB / 0.6316 GB, free: 26.89 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.6374, allocations: 1.224 MB / 0.6328 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.6386, allocations: 0.5192 MB / 0.6333 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6386, allocations: 0 / 0.6333 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.6389, allocations: 138.5 kB / 0.6334 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.6402, allocations: 281.9 kB / 0.6337 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.6451, allocations: 3.382 MB / 0.637 GB, free: 24.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.6454, allocations: 0.8883 MB / 0.6379 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004807/0.6459, allocations: 131.2 kB / 0.638 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.6461, allocations: 224.9 kB / 0.6382 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of SimCode: time 1.282e-06/0.6462, allocations: 2.969 kB / 0.6382 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04322/0.6894, allocations: 16.51 MB / 0.6543 GB, free: 22.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.6896, allocations: 259.9 kB / 0.6546 GB, free: 21.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/2.993, allocations: 6.812 kB / 0.6546 GB, free: 21.8 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/linux/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) Environment - environmentSimulation: