Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008341/0.008341, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.001466/0.001466, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8516/0.8516, allocations: 132.2 MB / 422.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 72.09 kB / 0.5813 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2399, allocations: 80.2 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7329/0.9729, allocations: 161.3 MB / 0.8172 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.975, allocations: 0.9651 MB / 0.8181 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.9752, allocations: 9.25 kB / 0.8181 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.9759, allocations: 156.5 kB / 0.8183 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.9777, allocations: 0.666 MB / 0.8189 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.9784, allocations: 223.6 kB / 0.8192 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0007208/0.9791, allocations: 0.5199 MB / 0.8197 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.9795, allocations: 175.7 kB / 0.8198 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/0.98, allocations: 237.3 kB / 0.8201 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.9803, allocations: 159.4 kB / 0.8202 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.9803, allocations: 14.19 kB / 0.8202 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.9816, allocations: 0.5466 MB / 0.8208 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.9817, allocations: 89.25 kB / 0.8208 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.9819, allocations: 109.7 kB / 0.821 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.9829, allocations: 0.4888 MB / 0.8214 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.983, allocations: 0.625 kB / 0.8214 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.244e-06/0.983, allocations: 0.875 kB / 0.8214 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.983, allocations: 1.859 kB / 0.8214 GB, free: 3.121 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00163/0.9846, allocations: 0.595 MB / 0.822 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.9847, allocations: 13.47 kB / 0.822 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.985, allocations: 56.11 kB / 0.8221 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.9855, allocations: 286 kB / 0.8224 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.9856, allocations: 15.05 kB / 0.8224 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.9856, allocations: 18.72 kB / 0.8224 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.9863, allocations: 237.5 kB / 0.8226 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.9863, allocations: 3.188 kB / 0.8226 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.9864, allocations: 8.359 kB / 0.8226 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.9864, allocations: 9.047 kB / 0.8226 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007176/0.9871, allocations: 250.6 kB / 0.8229 GB, free: 2.414 MB / 0.6387 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.001395/0.9885, allocations: 0.8418 MB / 0.8237 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.9889, allocations: 143.7 kB / 0.8238 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.9892, allocations: 113.4 kB / 0.8239 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.9894, allocations: 184.7 kB / 0.8241 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.9894, allocations: 40.39 kB / 0.8242 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.9895, allocations: 0.8125 kB / 0.8242 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0008924/0.9904, allocations: 305.1 kB / 0.8244 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.9904, allocations: 59.52 kB / 0.8245 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.9906, allocations: 241.5 kB / 0.8247 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.9907, allocations: 27.64 kB / 0.8248 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.9908, allocations: 132.8 kB / 0.8249 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.9908, allocations: 56.05 kB / 0.8249 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.9909, allocations: 35.72 kB / 0.825 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002471/0.9912, allocations: 330.2 kB / 0.8253 GB, free: 17.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.9914, allocations: 68.98 kB / 0.8254 GB, free: 17.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.9916, allocations: 105.1 kB / 0.8255 GB, free: 16.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.992, allocations: 172.4 kB / 0.8256 GB, free: 16.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.992, allocations: 0.875 kB / 0.8256 GB, free: 16.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004905/0.9925, allocations: 210 kB / 0.8258 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.9925, allocations: 6.906 kB / 0.8258 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9925, allocations: 1.25 kB / 0.8258 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.9925, allocations: 2.062 kB / 0.8258 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.9928, allocations: 32.92 kB / 0.8259 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.9928, allocations: 5 kB / 0.8259 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.993, allocations: 23.98 kB / 0.8259 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.993, allocations: 7.109 kB / 0.8259 GB, free: 16.91 MB / 0.6544 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.9932, allocations: 142 kB / 0.826 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.9932, allocations: 24.97 kB / 0.8261 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.142e-05/0.9933, allocations: 32.72 kB / 0.8261 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.9933, allocations: 5.406 kB / 0.8261 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.9933, allocations: 5.031 kB / 0.8261 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.9934, allocations: 2.328 kB / 0.8261 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.9945, allocations: 0.6768 MB / 0.8268 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.9945, allocations: 1.781 kB / 0.8268 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.9947, allocations: 32.94 kB / 0.8268 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.9947, allocations: 5.25 kB / 0.8268 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.9948, allocations: 7.25 kB / 0.8268 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.9948, allocations: 9.562 kB / 0.8268 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9948, allocations: 1.188 kB / 0.8268 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.9953, allocations: 350.2 kB / 0.8271 GB, free: 16.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.9955, allocations: 116.5 kB / 0.8273 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.9955, allocations: 6.469 kB / 0.8273 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.9957, allocations: 8.828 kB / 0.8273 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.9958, allocations: 22.8 kB / 0.8273 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.9958, allocations: 6.75 kB / 0.8273 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001905/0.996, allocations: 179 kB / 0.8275 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.996, allocations: 0.9062 kB / 0.8275 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004133/0.9964, allocations: 56.48 kB / 0.8275 GB, free: 16.03 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004246/0.9969, allocations: 160.2 kB / 0.8277 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.9974, allocations: 173.5 kB / 0.8278 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.9974, allocations: 2.156 kB / 0.8278 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.9976, allocations: 99.38 kB / 0.8279 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008032/0.9984, allocations: 124.8 kB / 0.8281 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008241/0.9993, allocations: 443.1 kB / 0.8285 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.9997, allocations: 0.7547 MB / 0.8292 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000232/0.9999, allocations: 60.27 kB / 0.8293 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/1, allocations: 26.91 kB / 0.8293 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/1, allocations: 0.6562 kB / 0.8293 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.009774/1.01, allocations: 4.451 MB / 0.8337 GB, free: 14.86 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)