Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002799/0.002799, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.278/1.278, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.389/2.389, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 104.1 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.475e-05, allocations: 4 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8092/0.8093, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.475/2.284, allocations: 356.3 MB / 0.9818 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004918/2.285, allocations: 94.64 kB / 0.9819 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.638/3.923, allocations: 238.9 MB / 1.215 GB, free: 125 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.352e-06/3.923, allocations: 0 / 1.215 GB, free: 125 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.9e-05/3.923, allocations: 27.88 kB / 1.215 GB, free: 125 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002446/3.925, allocations: 0.9737 MB / 1.216 GB, free: 124 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/3.925, allocations: 8.031 kB / 1.216 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/3.926, allocations: 86.92 kB / 1.216 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/3.927, allocations: 0.5038 MB / 1.217 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/3.927, allocations: 16 kB / 1.217 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.99e-05/3.927, allocations: 32 kB / 1.217 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008632/3.928, allocations: 354.5 kB / 1.217 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009268/3.929, allocations: 0.5094 MB / 1.218 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/3.929, allocations: 4 kB / 1.218 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/3.929, allocations: 0 / 1.218 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/3.929, allocations: 12 kB / 1.218 GB, free: 122.3 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004108/3.933, allocations: 3.113 MB / 1.221 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/3.934, allocations: 290.7 kB / 1.221 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/3.934, allocations: 175.2 kB / 1.221 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/3.934, allocations: 352.4 kB / 1.222 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/3.934, allocations: 39.19 kB / 1.222 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=38): time 4.518e-06/3.934, allocations: 0 / 1.222 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.003091/3.938, allocations: 0.6686 MB / 1.222 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/3.938, allocations: 59.36 kB / 1.222 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/3.938, allocations: 451.3 kB / 1.223 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/3.938, allocations: 25.7 kB / 1.223 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/3.939, allocations: 332.2 kB / 1.223 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/3.939, allocations: 122.1 kB / 1.223 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/3.939, allocations: 4 kB / 1.223 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000115/3.939, allocations: 370.8 kB / 1.224 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/3.939, allocations: 145.1 kB / 1.224 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/3.94, allocations: 331.2 kB / 1.224 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/3.942, allocations: 432.4 kB / 1.224 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/3.942, allocations: 4 kB / 1.224 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003013/3.945, allocations: 0.7889 MB / 1.225 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004269/3.945, allocations: 1.744 MB / 1.227 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/3.945, allocations: 4 kB / 1.227 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005582/3.946, allocations: 100.8 kB / 1.227 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/3.947, allocations: 143.8 kB / 1.227 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/3.948, allocations: 0.7006 MB / 1.228 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/3.949, allocations: 87.39 kB / 1.228 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/3.949, allocations: 47.97 kB / 1.228 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/3.949, allocations: 7.938 kB / 1.228 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002588/3.952, allocations: 0.674 MB / 1.229 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/3.952, allocations: 4 kB / 1.229 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/3.952, allocations: 11.98 kB / 1.229 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/3.953, allocations: 151.8 kB / 1.229 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/3.953, allocations: 8 kB / 1.229 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/3.954, allocations: 75.66 kB / 1.229 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/3.954, allocations: 27.98 kB / 1.229 GB, free: 110.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002723/3.954, allocations: 132.7 kB / 1.229 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002762/3.957, allocations: 0.6221 MB / 1.23 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/3.957, allocations: 67.28 kB / 1.23 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/3.961, allocations: 0.7488 MB / 1.23 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/3.961, allocations: 4 kB / 1.23 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/3.961, allocations: 4 kB / 1.23 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/3.961, allocations: 3.938 kB / 1.23 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005031/3.966, allocations: 1.441 MB / 1.232 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/3.966, allocations: 0 / 1.232 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/3.966, allocations: 87.88 kB / 1.232 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/3.967, allocations: 116.9 kB / 1.232 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/3.967, allocations: 11.98 kB / 1.232 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/3.968, allocations: 0.6812 MB / 1.233 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/3.968, allocations: 3.938 kB / 1.233 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/3.972, allocations: 0.8696 MB / 1.234 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005336/3.972, allocations: 200 kB / 1.234 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/3.972, allocations: 3.953 kB / 1.234 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/3.973, allocations: 51.94 kB / 1.234 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/3.973, allocations: 39.84 kB / 1.234 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/3.973, allocations: 16 kB / 1.234 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005892/3.974, allocations: 339.2 kB / 1.234 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.9e-07/3.974, allocations: 3.938 kB / 1.234 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002164/3.976, allocations: 395.2 kB / 1.235 GB, free: 104.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004843/3.981, allocations: 1.922 MB / 1.236 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002413/3.983, allocations: 0.7046 MB / 1.237 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/3.984, allocations: 0 / 1.237 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007213/3.984, allocations: 239.7 kB / 1.237 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/3.987, allocations: 228 kB / 1.238 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/3.991, allocations: 0.9088 MB / 1.238 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/3.991, allocations: 0.9205 MB / 1.239 GB, free: 99.33 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001252/3.993, allocations: 165 kB / 1.239 GB, free: 99.17 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/3.993, allocations: 231.3 kB / 1.24 GB, free: 98.94 MB / 0.6823 GB Notification: Performance of SimCode: time 1.894e-06/3.993, allocations: 4 kB / 1.24 GB, free: 98.94 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06829/4.061, allocations: 17.45 MB / 1.257 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/4.062, allocations: 192.8 kB / 1.257 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.771/8.833, allocations: 1.562 kB / 1.257 GB, free: 81.44 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)