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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 114.8 kB / 16.42 MB, free: 6.008 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.001195/0.001195, allocations: 184.9 kB / 17.35 MB, free: 5.625 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.265/1.265, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7491/0.7491, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 66.55 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1553, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02342/0.1787, allocations: 22.31 MB / 0.6871 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007466/0.1862, allocations: 5.239 MB / 0.6922 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007898/0.1871, allocations: 19.88 kB / 0.6922 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008627/0.1879, allocations: 321.8 kB / 0.6925 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.1903, allocations: 0.9095 MB / 0.6934 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.1921, allocations: 0.7104 MB / 0.6941 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.1939, allocations: 1.511 MB / 0.6956 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006786/0.1946, allocations: 0.5105 MB / 0.6961 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.1957, allocations: 0.6498 MB / 0.6967 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/0.1964, allocations: 481.8 kB / 0.6972 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.564e-05/0.1965, allocations: 52 kB / 0.6972 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.1977, allocations: 0.6356 MB / 0.6979 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.1979, allocations: 155.3 kB / 0.698 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.1982, allocations: 366 kB / 0.6984 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.1995, allocations: 1.071 MB / 0.6994 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1995, allocations: 0 / 0.6994 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.056e-06/0.1995, allocations: 4 kB / 0.6994 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.1995, allocations: 0 / 0.6994 GB, free: 2.754 MB / 0.5294 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.00171/0.2012, allocations: 1.054 MB / 0.7004 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2013, allocations: 9.109 kB / 0.7004 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.2014, allocations: 80 kB / 0.7005 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.2023, allocations: 0.5737 MB / 0.7011 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.2024, allocations: 28.66 kB / 0.7011 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.2024, allocations: 43.98 kB / 0.7012 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.203, allocations: 314 kB / 0.7015 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.203, allocations: 0 / 0.7015 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.2031, allocations: 11.94 kB / 0.7015 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.2031, allocations: 16.66 kB / 0.7015 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.2036, allocations: 254.4 kB / 0.7017 GB, free: 292 kB / 0.5294 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.002375/0.206, allocations: 1.561 MB / 0.7032 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.2064, allocations: 202.4 kB / 0.7034 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.2066, allocations: 92.81 kB / 0.7035 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000359/0.2069, allocations: 425.5 kB / 0.7039 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.207, allocations: 30.56 kB / 0.704 GB, free: 13.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.953e-06/0.207, allocations: 3.938 kB / 0.704 GB, free: 13.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0007431/0.2077, allocations: 331.5 kB / 0.7043 GB, free: 13.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2078, allocations: 59.34 kB / 0.7043 GB, free: 13.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007308/0.2085, allocations: 0.6449 MB / 0.705 GB, free: 12.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.2085, allocations: 33.7 kB / 0.705 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.2088, allocations: 304.3 kB / 0.7053 GB, free: 12.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.2089, allocations: 67 kB / 0.7054 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.209, allocations: 106 kB / 0.7055 GB, free: 12.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2092, allocations: 374.7 kB / 0.7058 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.2095, allocations: 138.5 kB / 0.7059 GB, free: 11.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.2098, allocations: 202.3 kB / 0.7061 GB, free: 11.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.2104, allocations: 289.1 kB / 0.7064 GB, free: 11.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2104, allocations: 0 / 0.7064 GB, free: 11.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000777/0.2112, allocations: 456.5 kB / 0.7069 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.2112, allocations: 8 kB / 0.7069 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2112, allocations: 0 / 0.7069 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2112, allocations: 4.062 kB / 0.7069 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/0.212, allocations: 143.8 kB / 0.707 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007331/0.2128, allocations: 1.192 MB / 0.7082 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.2132, allocations: 47.66 kB / 0.7082 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.2133, allocations: 15.98 kB / 0.7082 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004136/0.2137, allocations: 272.9 kB / 0.7085 GB, free: 8.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003122/0.214, allocations: 206.3 kB / 0.7087 GB, free: 8.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000472/0.2145, allocations: 285.5 kB / 0.709 GB, free: 8.457 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.2145, allocations: 4 kB / 0.709 GB, free: 8.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007307/0.2152, allocations: 440.6 kB / 0.7094 GB, free: 8.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.2152, allocations: 6.031 kB / 0.7094 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.2152, allocations: 0 / 0.7094 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.592e-06/0.2153, allocations: 4 kB / 0.7094 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.2157, allocations: 115.8 kB / 0.7095 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2157, allocations: 7.938 kB / 0.7095 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.2161, allocations: 39.67 kB / 0.7095 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.2162, allocations: 24.05 kB / 0.7096 GB, free: 7.824 MB / 0.545 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.0001526/0.2163, allocations: 200.1 kB / 0.7098 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.2164, allocations: 59.25 kB / 0.7098 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006616/0.2171, allocations: 327.2 kB / 0.7101 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2171, allocations: 0 / 0.7101 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2171, allocations: 0 / 0.7101 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.2173, allocations: 172.2 kB / 0.7103 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.2174, allocations: 7.938 kB / 0.7103 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.2176, allocations: 15.97 kB / 0.7103 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.2177, allocations: 15.98 kB / 0.7103 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007778/0.2185, allocations: 397.8 kB / 0.7107 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007987/0.2193, allocations: 0.5871 MB / 0.7113 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002013/0.2195, allocations: 112 kB / 0.7114 GB, free: 5.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005414/0.2201, allocations: 451 kB / 0.7118 GB, free: 5.453 MB / 0.545 GB Notification: Performance of Backend: time 3.51e-07/0.2201, allocations: 0 / 0.7118 GB, free: 5.453 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.2221, allocations: 0.7048 MB / 0.7125 GB, free: 4.75 MB / 0.545 GB Notification: Performance of SimCode: time 0.002367/0.2245, allocations: 1.635 MB / 0.7141 GB, free: 3.07 MB / 0.545 GB Notification: Performance of Templates: time 0.02101/0.2455, allocations: 13.01 MB / 0.7268 GB, free: 6.207 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)