Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.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: translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7271/0.7271, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.727/1.727, allocations: 221.3 MB / 400.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009969/0.0009969, allocations: 85.78 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.2e-05/5.203e-05, allocations: 6.969 kB / 0.56 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1824, allocations: 82.3 MB / 0.6404 GB, free: 7.801 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.366/1.549, allocations: 352.6 MB / 0.9848 GB, free: 260.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/1.549, allocations: 85.31 kB / 0.9849 GB, free: 260.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4678/2.017, allocations: 256.7 MB / 1.236 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/2.017, allocations: 4.188 kB / 1.236 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.767e-05/2.017, allocations: 15.94 kB / 1.236 GB, free: 10.02 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00158/2.019, allocations: 0.8299 MB / 1.236 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/2.019, allocations: 8.031 kB / 1.236 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/2.019, allocations: 63.25 kB / 1.236 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/2.02, allocations: 475.5 kB / 1.237 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/2.02, allocations: 24.78 kB / 1.237 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/2.02, allocations: 44 kB / 1.237 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/2.02, allocations: 267.7 kB / 1.237 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/2.02, allocations: 3.938 kB / 1.237 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/2.02, allocations: 12 kB / 1.237 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/2.02, allocations: 11.94 kB / 1.237 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/2.02, allocations: 199.1 kB / 1.237 GB, free: 8.012 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.001993/2.022, allocations: 1.326 MB / 1.239 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/2.023, allocations: 240 kB / 1.239 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/2.023, allocations: 104.9 kB / 1.239 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003726/2.024, allocations: 0.4986 MB / 1.24 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/2.024, allocations: 38.56 kB / 1.24 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.715e-06/2.024, allocations: 4 kB / 1.24 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0005496/2.024, allocations: 262.2 kB / 1.24 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/2.024, allocations: 55.41 kB / 1.24 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/2.025, allocations: 403.9 kB / 1.24 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/2.025, allocations: 33.7 kB / 1.24 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/2.025, allocations: 244.7 kB / 1.24 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/2.025, allocations: 86.73 kB / 1.241 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/2.025, allocations: 4 kB / 1.241 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.975e-05/2.025, allocations: 362.8 kB / 1.241 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/2.025, allocations: 83.92 kB / 1.241 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/2.025, allocations: 182.5 kB / 1.241 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/2.025, allocations: 102.5 kB / 1.241 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/2.025, allocations: 3.938 kB / 1.241 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00057/2.026, allocations: 347.2 kB / 1.242 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.698e-05/2.026, allocations: 275 kB / 1.242 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/2.026, allocations: 3.984 kB / 1.242 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/2.026, allocations: 40.84 kB / 1.242 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/2.027, allocations: 71.88 kB / 1.242 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003547/2.027, allocations: 0.5641 MB / 1.243 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/2.028, allocations: 83.59 kB / 1.243 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/2.028, allocations: 19.98 kB / 1.243 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/2.028, allocations: 4 kB / 1.243 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003842/2.028, allocations: 239.8 kB / 1.243 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/2.028, allocations: 0 / 1.243 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-06/2.028, allocations: 4 kB / 1.243 GB, free: 2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/2.028, allocations: 83.88 kB / 1.243 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/2.029, allocations: 0 / 1.243 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/2.029, allocations: 67.78 kB / 1.243 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/2.029, allocations: 23.98 kB / 1.243 GB, free: 1.828 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001055/2.029, allocations: 128.9 kB / 1.243 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/2.029, allocations: 55.23 kB / 1.243 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006045/2.03, allocations: 351.8 kB / 1.244 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/2.03, allocations: 4 kB / 1.244 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.03, allocations: 3.938 kB / 1.244 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/2.03, allocations: 0 / 1.244 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/2.031, allocations: 0.8844 MB / 1.244 GB, free: 332 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/2.031, allocations: 0 / 1.244 GB, free: 332 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/2.031, allocations: 47.97 kB / 1.244 GB, free: 284 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/2.031, allocations: 48.77 kB / 1.245 GB, free: 232 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/2.031, allocations: 12 kB / 1.245 GB, free: 220 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5058/2.537, allocations: 0.5513 MB / 1.245 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/2.537, allocations: 2.344 kB / 1.245 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/2.539, allocations: 482.8 kB / 1.246 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/2.539, allocations: 158.6 kB / 1.246 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.631e-05/2.539, allocations: 9.844 kB / 1.246 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007807/2.54, allocations: 45.86 kB / 1.246 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/2.54, allocations: 29.77 kB / 1.246 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/2.54, allocations: 13.66 kB / 1.246 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007153/2.541, allocations: 315.1 kB / 1.246 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/2.541, allocations: 1.188 kB / 1.246 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001593/2.543, allocations: 278.6 kB / 1.246 GB, free: 172.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001117/2.544, allocations: 345.8 kB / 1.247 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001588/2.545, allocations: 392.8 kB / 1.247 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/2.545, allocations: 2.938 kB / 1.247 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005553/2.546, allocations: 137.1 kB / 1.247 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/2.548, allocations: 253.9 kB / 1.247 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/2.55, allocations: 0.5833 MB / 1.248 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/2.551, allocations: 0.8716 MB / 1.249 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001066/2.552, allocations: 142.6 kB / 1.249 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/2.552, allocations: 33.17 kB / 1.249 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.352e-06/2.552, allocations: 3.25 kB / 1.249 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.03101/2.583, allocations: 12.21 MB / 1.261 GB, free: 171.1 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)