Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_dev_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.001819/0.001819, allocations: 179.1 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 1.182/1.182, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.682/2.682, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.00127/0.00127, allocations: 102.4 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.481e-05, allocations: 4 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7756/0.7757, allocations: 82.31 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.513/2.289, allocations: 392.3 MB / 1.017 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005227/2.29, allocations: 102 kB / 1.017 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.828/9.117, allocations: 0.986 GB / 2.003 GB, free: 80 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.829e-06/9.117, allocations: 0 / 2.003 GB, free: 80 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007395/9.118, allocations: 81.89 kB / 2.003 GB, free: 79.98 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.01318/9.131, allocations: 2.566 MB / 2.006 GB, free: 78.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001019/9.132, allocations: 9.719 kB / 2.006 GB, free: 78.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/9.135, allocations: 331.5 kB / 2.006 GB, free: 78.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/9.146, allocations: 2.455 MB / 2.008 GB, free: 77.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/9.146, allocations: 52.05 kB / 2.008 GB, free: 77.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006822/9.147, allocations: 101 kB / 2.009 GB, free: 77.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003778/9.15, allocations: 0.9838 MB / 2.01 GB, free: 77.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003903/9.154, allocations: 1.302 MB / 2.011 GB, free: 77.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.248e-05/9.154, allocations: 3.094 kB / 2.011 GB, free: 77.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/9.155, allocations: 5.375 kB / 2.011 GB, free: 77.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/9.155, allocations: 43.7 kB / 2.011 GB, free: 77.79 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.02493/9.18, allocations: 7.652 MB / 2.018 GB, free: 74.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/9.182, allocations: 444.3 kB / 2.019 GB, free: 74.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008789/9.182, allocations: 306.8 kB / 2.019 GB, free: 74.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/9.184, allocations: 0.7504 MB / 2.02 GB, free: 73.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.497e-05/9.184, allocations: 42.47 kB / 2.02 GB, free: 73.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 8.466e-06/9.184, allocations: 0 / 2.02 GB, free: 73.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.004463/9.188, allocations: 0.7244 MB / 2.021 GB, free: 73.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/9.189, allocations: 55.62 kB / 2.021 GB, free: 73.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007328/9.196, allocations: 1.711 MB / 2.022 GB, free: 72.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005285/9.197, allocations: 29.05 kB / 2.022 GB, free: 72.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00192/9.198, allocations: 1.171 MB / 2.023 GB, free: 72.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/9.199, allocations: 212.7 kB / 2.024 GB, free: 72.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/9.199, allocations: 2.125 kB / 2.024 GB, free: 72.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001927/9.199, allocations: 347 kB / 2.024 GB, free: 71.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008815/9.2, allocations: 305.6 kB / 2.024 GB, free: 71.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/9.201, allocations: 0.7501 MB / 2.025 GB, free: 71.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/9.203, allocations: 458.5 kB / 2.025 GB, free: 71.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/9.203, allocations: 3.938 kB / 2.025 GB, free: 71.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004304/9.207, allocations: 1.118 MB / 2.027 GB, free: 71.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00143/9.209, allocations: 3.162 MB / 2.03 GB, free: 67.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/9.209, allocations: 7.562 kB / 2.03 GB, free: 67.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.971e-05/9.209, allocations: 13.25 kB / 2.03 GB, free: 67.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/9.211, allocations: 255.7 kB / 2.03 GB, free: 67.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.515e-05/9.211, allocations: 22.09 kB / 2.03 GB, free: 67.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004294/9.215, allocations: 196.4 kB / 2.03 GB, free: 67.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/9.215, allocations: 51.06 kB / 2.03 GB, free: 67.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/9.215, allocations: 3.375 kB / 2.03 GB, free: 67.69 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002768/9.218, allocations: 0.8597 MB / 2.031 GB, free: 67.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/9.218, allocations: 10.5 kB / 2.031 GB, free: 67.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/9.218, allocations: 17.19 kB / 2.031 GB, free: 67.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/9.22, allocations: 248.6 kB / 2.031 GB, free: 67.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.478e-05/9.22, allocations: 20.83 kB / 2.031 GB, free: 67.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/9.224, allocations: 168.1 kB / 2.031 GB, free: 67.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/9.224, allocations: 53.17 kB / 2.031 GB, free: 67.56 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.0008021/9.225, allocations: 132.5 kB / 2.032 GB, free: 67.44 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004011/9.229, allocations: 0.6936 MB / 2.032 GB, free: 67.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/9.231, allocations: 215.7 kB / 2.032 GB, free: 67.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/9.235, allocations: 0.8288 MB / 2.033 GB, free: 67.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.695e-05/9.235, allocations: 9.812 kB / 2.033 GB, free: 67.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.182e-05/9.235, allocations: 3.094 kB / 2.033 GB, free: 67.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001977/9.237, allocations: 0.6507 MB / 2.034 GB, free: 66.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/9.251, allocations: 2.418 MB / 2.036 GB, free: 66.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/9.252, allocations: 2 kB / 2.036 GB, free: 66.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/9.253, allocations: 152.9 kB / 2.036 GB, free: 66.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-05/9.253, allocations: 10 kB / 2.036 GB, free: 66.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.519e-05/9.253, allocations: 3.875 kB / 2.036 GB, free: 66.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/9.253, allocations: 3.562 kB / 2.036 GB, free: 66.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/9.253, allocations: 3.906 kB / 2.036 GB, free: 66.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005173/9.259, allocations: 1.278 MB / 2.038 GB, free: 66.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003424/9.262, allocations: 448.9 kB / 2.038 GB, free: 65.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001384/9.264, allocations: 3.656 kB / 2.038 GB, free: 65.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003919/9.267, allocations: 149.9 kB / 2.038 GB, free: 65.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/9.268, allocations: 40.55 kB / 2.038 GB, free: 65.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/9.268, allocations: 40.39 kB / 2.038 GB, free: 65.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005163/9.273, allocations: 1.255 MB / 2.04 GB, free: 65.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.192e-06/9.273, allocations: 0 / 2.04 GB, free: 65.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01304/9.286, allocations: 1.222 MB / 2.041 GB, free: 65.56 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.009699/9.296, allocations: 3.135 MB / 2.044 GB, free: 64.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004967/9.301, allocations: 1.297 MB / 2.045 GB, free: 64.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/9.301, allocations: 0 / 2.045 GB, free: 64.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008335/9.302, allocations: 305.1 kB / 2.045 GB, free: 64.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01466/9.317, allocations: 1.267 MB / 2.047 GB, free: 63.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02141/9.338, allocations: 3.269 MB / 2.05 GB, free: 62.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004266/9.343, allocations: 1.644 MB / 2.051 GB, free: 61.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008131/9.351, allocations: 0.6357 MB / 2.052 GB, free: 61.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002935/9.354, allocations: 0.9054 MB / 2.053 GB, free: 60.73 MB / 0.698 GB Notification: Performance of SimCode: time 3.567e-06/9.354, allocations: 3.938 kB / 2.053 GB, free: 60.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2224/9.576, allocations: 63.96 MB / 2.115 GB, free: 8.375 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004/9.577, allocations: 162.9 kB / 2.116 GB, free: 8.188 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.85/18.43, allocations: 0 / 2.116 GB, free: 8.188 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)