Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.001265/0.001265, allocations: 173.9 kB / 7.648 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 0.7505/0.7505, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009946/0.0009945, allocations: 103.8 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.422e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4594, allocations: 82.31 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7705/1.23, allocations: 392.3 MB / 1.017 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.23, allocations: 103 kB / 1.017 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.431/4.662, allocations: 0.986 GB / 2.003 GB, free: 80.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/4.662, allocations: 1.375 kB / 2.003 GB, free: 80.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004967/4.662, allocations: 81.53 kB / 2.003 GB, free: 80.12 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006903/4.669, allocations: 2.568 MB / 2.006 GB, free: 78.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/4.669, allocations: 11.06 kB / 2.006 GB, free: 78.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/4.671, allocations: 329.2 kB / 2.006 GB, free: 78.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005078/4.676, allocations: 2.462 MB / 2.008 GB, free: 78.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/4.676, allocations: 44.75 kB / 2.008 GB, free: 78.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/4.676, allocations: 105.8 kB / 2.009 GB, free: 78.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001707/4.678, allocations: 0.9862 MB / 2.01 GB, free: 78.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/4.68, allocations: 1.295 MB / 2.011 GB, free: 77.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/4.68, allocations: 10.94 kB / 2.011 GB, free: 77.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/4.68, allocations: 3.281 kB / 2.011 GB, free: 77.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/4.68, allocations: 50.66 kB / 2.011 GB, free: 77.94 MB / 0.698 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.009889/4.69, allocations: 7.644 MB / 2.018 GB, free: 74.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/4.691, allocations: 439.1 kB / 2.019 GB, free: 74.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/4.691, allocations: 298.4 kB / 2.019 GB, free: 74.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005208/4.691, allocations: 0.7572 MB / 2.02 GB, free: 73.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/4.691, allocations: 44.72 kB / 2.02 GB, free: 73.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.585e-06/4.691, allocations: 0 / 2.02 GB, free: 73.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001594/4.693, allocations: 0.7248 MB / 2.021 GB, free: 73.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/4.693, allocations: 55.91 kB / 2.021 GB, free: 73.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/4.695, allocations: 1.705 MB / 2.022 GB, free: 72.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/4.695, allocations: 31.86 kB / 2.022 GB, free: 72.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008274/4.696, allocations: 1.172 MB / 2.023 GB, free: 72.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/4.696, allocations: 205.3 kB / 2.024 GB, free: 72.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/4.696, allocations: 0 / 2.024 GB, free: 72.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001066/4.697, allocations: 351.4 kB / 2.024 GB, free: 72.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007133/4.697, allocations: 303.8 kB / 2.024 GB, free: 72.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/4.698, allocations: 0.7583 MB / 2.025 GB, free: 71.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/4.7, allocations: 453 kB / 2.025 GB, free: 71.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/4.7, allocations: 3.906 kB / 2.025 GB, free: 71.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002958/4.703, allocations: 1.122 MB / 2.027 GB, free: 71.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007101/4.703, allocations: 3.16 MB / 2.03 GB, free: 67.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/4.704, allocations: 6.656 kB / 2.03 GB, free: 67.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.041e-05/4.704, allocations: 13.16 kB / 2.03 GB, free: 67.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/4.705, allocations: 257.9 kB / 2.03 GB, free: 67.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/4.705, allocations: 23.14 kB / 2.03 GB, free: 67.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/4.707, allocations: 196.9 kB / 2.03 GB, free: 67.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/4.708, allocations: 57.39 kB / 2.03 GB, free: 67.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/4.708, allocations: 3.094 kB / 2.03 GB, free: 67.84 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002224/4.71, allocations: 0.8484 MB / 2.031 GB, free: 67.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/4.71, allocations: 7.438 kB / 2.031 GB, free: 67.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/4.71, allocations: 18.62 kB / 2.031 GB, free: 67.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/4.711, allocations: 255.9 kB / 2.031 GB, free: 67.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/4.711, allocations: 21.41 kB / 2.031 GB, free: 67.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/4.714, allocations: 173.4 kB / 2.031 GB, free: 67.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/4.715, allocations: 53.42 kB / 2.031 GB, free: 67.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003807/4.715, allocations: 132.6 kB / 2.032 GB, free: 67.59 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002112/4.717, allocations: 0.7001 MB / 2.032 GB, free: 67.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/4.717, allocations: 213.9 kB / 2.032 GB, free: 67.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/4.72, allocations: 0.824 MB / 2.033 GB, free: 67.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/4.72, allocations: 7.828 kB / 2.033 GB, free: 67.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/4.72, allocations: 3.531 kB / 2.033 GB, free: 67.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008412/4.721, allocations: 0.6525 MB / 2.034 GB, free: 67.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00508/4.726, allocations: 2.419 MB / 2.036 GB, free: 66.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/4.726, allocations: 5.812 kB / 2.036 GB, free: 66.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/4.727, allocations: 146.5 kB / 2.036 GB, free: 66.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/4.727, allocations: 5.656 kB / 2.036 GB, free: 66.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/4.727, allocations: 10.2 kB / 2.036 GB, free: 66.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/4.727, allocations: 3.688 kB / 2.036 GB, free: 66.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/4.727, allocations: 3.688 kB / 2.036 GB, free: 66.67 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/4.729, allocations: 1.267 MB / 2.038 GB, free: 66.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/4.731, allocations: 449.6 kB / 2.038 GB, free: 66.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/4.731, allocations: 6.312 kB / 2.038 GB, free: 66.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/4.733, allocations: 148.6 kB / 2.038 GB, free: 66.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/4.733, allocations: 44.62 kB / 2.038 GB, free: 66.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.47e-05/4.733, allocations: 32.94 kB / 2.038 GB, free: 66.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00247/4.736, allocations: 1.258 MB / 2.04 GB, free: 65.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/4.736, allocations: 3.844 kB / 2.04 GB, free: 65.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004786/4.74, allocations: 1.221 MB / 2.041 GB, free: 65.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005195/4.746, allocations: 3.135 MB / 2.044 GB, free: 64.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002866/4.748, allocations: 1.303 MB / 2.045 GB, free: 64.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/4.748, allocations: 0 / 2.045 GB, free: 64.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005052/4.749, allocations: 299.1 kB / 2.045 GB, free: 64.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009073/4.758, allocations: 1.257 MB / 2.047 GB, free: 63.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/4.77, allocations: 3.269 MB / 2.05 GB, free: 62.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001982/4.772, allocations: 1.649 MB / 2.051 GB, free: 61.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004686/4.776, allocations: 0.645 MB / 2.052 GB, free: 61.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/4.778, allocations: 0.9079 MB / 2.053 GB, free: 60.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.976e-06/4.778, allocations: 0 / 2.053 GB, free: 60.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/4.89, allocations: 63.95 MB / 2.115 GB, free: 8.266 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/4.89, allocations: 161.8 kB / 2.116 GB, free: 8.074 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.673/9.563, allocations: 0 / 2.116 GB, free: 8.074 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)