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.00101/0.00101, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001214/0.001215, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7366/0.7366, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004212, allocations: 8.75 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3786, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1454/0.524, allocations: 146.5 MB / 0.7261 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.5255, allocations: 0.9069 MB / 0.727 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.5257, allocations: 11.94 kB / 0.727 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.5261, allocations: 111.2 kB / 0.7271 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.5271, allocations: 461.9 kB / 0.7276 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.5275, allocations: 190.1 kB / 0.7277 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.5282, allocations: 0.624 MB / 0.7284 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.5284, allocations: 144.1 kB / 0.7285 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.5288, allocations: 211.2 kB / 0.7287 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.529, allocations: 159.3 kB / 0.7288 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.529, allocations: 8 kB / 0.7289 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000554/0.5296, allocations: 291.2 kB / 0.7291 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.5297, allocations: 75.78 kB / 0.7292 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.5298, allocations: 65.64 kB / 0.7293 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.5301, allocations: 299.3 kB / 0.7296 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5301, allocations: 0 / 0.7296 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5301, allocations: 4 kB / 0.7296 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.5301, allocations: 0 / 0.7296 GB, free: 10.14 MB / 0.5606 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.001178/0.5313, allocations: 0.5571 MB / 0.7301 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.5314, allocations: 12.03 kB / 0.7301 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.5316, allocations: 51.69 kB / 0.7302 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.5319, allocations: 270.5 kB / 0.7304 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.5319, allocations: 12.33 kB / 0.7304 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.532, allocations: 16 kB / 0.7304 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.5324, allocations: 246.9 kB / 0.7307 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.5325, allocations: 0 / 0.7307 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.5325, allocations: 15.98 kB / 0.7307 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.5325, allocations: 4 kB / 0.7307 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005577/0.5331, allocations: 267.8 kB / 0.731 GB, free: 8.617 MB / 0.5606 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.001088/0.5342, allocations: 0.8353 MB / 0.7318 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.5345, allocations: 150.6 kB / 0.7319 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.5347, allocations: 108.8 kB / 0.732 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.5349, allocations: 198.1 kB / 0.7322 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.535, allocations: 38.56 kB / 0.7322 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.485e-06/0.535, allocations: 7.922 kB / 0.7323 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007564/0.5357, allocations: 312.2 kB / 0.7326 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.5358, allocations: 59.36 kB / 0.7326 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.536, allocations: 241 kB / 0.7328 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.536, allocations: 25.7 kB / 0.7329 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.5361, allocations: 144.2 kB / 0.733 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.5361, allocations: 51.23 kB / 0.733 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.5361, allocations: 4 kB / 0.7331 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.5362, allocations: 330.8 kB / 0.7334 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.5364, allocations: 67.95 kB / 0.7334 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.5366, allocations: 114.5 kB / 0.7335 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.5368, allocations: 79.89 kB / 0.7336 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5368, allocations: 0 / 0.7336 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004202/0.5372, allocations: 233.2 kB / 0.7338 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5372, allocations: 4 kB / 0.7338 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5373, allocations: 0 / 0.7338 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.5373, allocations: 0 / 0.7338 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.5375, allocations: 36.05 kB / 0.7339 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5375, allocations: 0 / 0.7339 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.5376, allocations: 35.77 kB / 0.7339 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.5377, allocations: 4 kB / 0.7339 GB, free: 5.395 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.5378, allocations: 141.8 kB / 0.7341 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.5378, allocations: 23.72 kB / 0.7341 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.5379, allocations: 33.83 kB / 0.7341 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5379, allocations: 4 kB / 0.7341 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5379, allocations: 0 / 0.7341 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5379, allocations: 0 / 0.7341 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000916/0.5388, allocations: 0.6874 MB / 0.7348 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5389, allocations: 0 / 0.7348 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.539, allocations: 40.12 kB / 0.7348 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.539, allocations: 7.953 kB / 0.7348 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.5391, allocations: 8 kB / 0.7348 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.5391, allocations: 4 kB / 0.7348 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5391, allocations: 0 / 0.7348 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.5395, allocations: 361.1 kB / 0.7352 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.5396, allocations: 116.8 kB / 0.7353 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.5397, allocations: 11.95 kB / 0.7353 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.5399, allocations: 19.98 kB / 0.7353 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.54, allocations: 15.86 kB / 0.7353 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.54, allocations: 4 kB / 0.7353 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001464/0.5401, allocations: 184.4 kB / 0.7355 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5401, allocations: 0 / 0.7355 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003255/0.5405, allocations: 63.94 kB / 0.7356 GB, free: 3.539 MB / 0.5606 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 (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.0002855/0.5408, allocations: 148.2 kB / 0.7357 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.5412, allocations: 187.6 kB / 0.7359 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5412, allocations: 0 / 0.7359 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.5415, allocations: 95.88 kB / 0.736 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.5422, allocations: 128.4 kB / 0.7361 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.5429, allocations: 0.4904 MB / 0.7366 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.5432, allocations: 0.7521 MB / 0.7373 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002182/0.5434, allocations: 61.91 kB / 0.7374 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.5435, allocations: 27.42 kB / 0.7374 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.5435, allocations: 0 / 0.7374 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of Templates: time 0.007507/0.551, allocations: 4.054 MB / 0.7414 GB, free: 13.63 MB / 0.5762 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)