Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001188/0.001189, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001638/0.001638, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8404/0.8404, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.05 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1676, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5743/0.7419, allocations: 161.3 MB / 0.8228 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.744, allocations: 0.9521 MB / 0.8238 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.7443, allocations: 9.375 kB / 0.8238 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.745, allocations: 163 kB / 0.8239 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.7467, allocations: 0.6335 MB / 0.8246 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.7474, allocations: 220.3 kB / 0.8248 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000735/0.7482, allocations: 0.5251 MB / 0.8253 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.7485, allocations: 166.8 kB / 0.8254 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.7491, allocations: 245.5 kB / 0.8257 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.7493, allocations: 156.7 kB / 0.8258 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.7493, allocations: 16 kB / 0.8258 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.7503, allocations: 0.5384 MB / 0.8264 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.7504, allocations: 87.95 kB / 0.8265 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.7506, allocations: 113.9 kB / 0.8266 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00075/0.7513, allocations: 0.4884 MB / 0.827 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7513, allocations: 2.281 kB / 0.827 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7513, allocations: 0 / 0.827 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.7514, allocations: 0 / 0.827 GB, free: 1.918 MB / 0.5919 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.001468/0.7528, allocations: 0.6024 MB / 0.8276 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.7529, allocations: 8.828 kB / 0.8276 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.7531, allocations: 44.56 kB / 0.8277 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.7536, allocations: 291.9 kB / 0.828 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.7536, allocations: 11.92 kB / 0.828 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.7537, allocations: 17.78 kB / 0.828 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.7542, allocations: 241.1 kB / 0.8282 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.7542, allocations: 0 / 0.8282 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.7542, allocations: 10.41 kB / 0.8282 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.7543, allocations: 7.812 kB / 0.8282 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.7548, allocations: 252.2 kB / 0.8285 GB, free: 0.7891 MB / 0.5919 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.001202/0.756, allocations: 0.831 MB / 0.8293 GB, free: 80 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.7563, allocations: 146.6 kB / 0.8294 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.7566, allocations: 118.8 kB / 0.8295 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/0.7568, allocations: 180.9 kB / 0.8297 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.7569, allocations: 38.5 kB / 0.8297 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 3.416e-06/0.7569, allocations: 0 / 0.8297 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.000826/0.7577, allocations: 298.5 kB / 0.83 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.7578, allocations: 58.05 kB / 0.8301 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.758, allocations: 239.3 kB / 0.8303 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.758, allocations: 29.7 kB / 0.8303 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/0.7581, allocations: 132.6 kB / 0.8305 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.7582, allocations: 52.38 kB / 0.8305 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.7583, allocations: 42.45 kB / 0.8306 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7584, allocations: 331.8 kB / 0.8309 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.7586, allocations: 67 kB / 0.8309 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.7588, allocations: 105.9 kB / 0.831 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.7591, allocations: 181.2 kB / 0.8312 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7591, allocations: 0 / 0.8312 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004299/0.7596, allocations: 208.7 kB / 0.8314 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.7596, allocations: 9.5 kB / 0.8314 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7596, allocations: 0 / 0.8314 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.7596, allocations: 64 / 0.8314 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.7598, allocations: 42.22 kB / 0.8315 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7599, allocations: 2.688 kB / 0.8315 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.76, allocations: 18.67 kB / 0.8315 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.7601, allocations: 11.64 kB / 0.8315 GB, free: 14.38 MB / 0.6075 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.0001181/0.7602, allocations: 136.4 kB / 0.8316 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.7602, allocations: 29.98 kB / 0.8317 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.597e-05/0.7603, allocations: 33.27 kB / 0.8317 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.7603, allocations: 6.875 kB / 0.8317 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7603, allocations: 0 / 0.8317 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7604, allocations: 3.984 kB / 0.8317 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009977/0.7614, allocations: 0.6787 MB / 0.8324 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7614, allocations: 0 / 0.8324 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.7615, allocations: 30.16 kB / 0.8324 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7615, allocations: 2.906 kB / 0.8324 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.7616, allocations: 2.781 kB / 0.8324 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.7616, allocations: 8.438 kB / 0.8324 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.7616, allocations: 6.828 kB / 0.8324 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.7621, allocations: 359.9 kB / 0.8328 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.7622, allocations: 115.9 kB / 0.8329 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.7622, allocations: 1.812 kB / 0.8329 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.7624, allocations: 9.922 kB / 0.8329 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.7624, allocations: 18.61 kB / 0.8329 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.7625, allocations: 5.719 kB / 0.8329 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001628/0.7626, allocations: 178.8 kB / 0.8331 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.954e-06/0.7626, allocations: 4 kB / 0.8331 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003535/0.763, allocations: 57.72 kB / 0.8331 GB, free: 13.05 MB / 0.6075 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.0003917/0.7634, allocations: 160.5 kB / 0.8333 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004536/0.7638, allocations: 166.6 kB / 0.8334 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7639, allocations: 0 / 0.8334 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.7641, allocations: 105.1 kB / 0.8335 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/0.7648, allocations: 127.5 kB / 0.8337 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.7656, allocations: 476.3 kB / 0.8341 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.7659, allocations: 0.7516 MB / 0.8348 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.766, allocations: 24.16 kB / 0.8349 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.766, allocations: 0 / 0.8349 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.005746/0.7717, allocations: 3.716 MB / 0.8385 GB, free: 9.719 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)