Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008029/0.000803, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005094/0.005094, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8846/0.8846, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002887, allocations: 12 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 82.31 MB / 0.5881 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.2973/0.4395, allocations: 74.98 MB / 0.6613 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02361/0.4632, allocations: 19.83 MB / 0.6807 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.4658, allocations: 73.34 kB / 0.6807 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.4682, allocations: 0.7994 MB / 0.6815 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007302/0.4755, allocations: 2.638 MB / 0.6841 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004834/0.4804, allocations: 1.896 MB / 0.686 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008165/0.4885, allocations: 6.705 MB / 0.6925 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.4907, allocations: 1.371 MB / 0.6938 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003587/0.4943, allocations: 1.761 MB / 0.6956 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.4963, allocations: 1.424 MB / 0.697 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.4965, allocations: 74.38 kB / 0.697 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005703/0.5022, allocations: 1.783 MB / 0.6988 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005346/0.5027, allocations: 367.3 kB / 0.6991 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.5042, allocations: 0.9928 MB / 0.7001 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005334/0.5096, allocations: 3.337 MB / 0.7033 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5096, allocations: 0 / 0.7033 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5096, allocations: 1.375 kB / 0.7033 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.741e-05/0.5096, allocations: 0 / 0.7033 GB, free: 13.68 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004049/0.5137, allocations: 2.125 MB / 0.7054 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5137, allocations: 9.344 kB / 0.7054 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000236/0.514, allocations: 193.9 kB / 0.7056 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.5157, allocations: 429.3 kB / 0.706 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.5188, allocations: 1.781 MB / 0.7078 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.5189, allocations: 98.17 kB / 0.7079 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.5191, allocations: 126.7 kB / 0.708 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.5215, allocations: 1.442 MB / 0.7094 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.5216, allocations: 6.125 kB / 0.7094 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.5217, allocations: 57.78 kB / 0.7094 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.5217, allocations: 32.06 kB / 0.7095 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.5239, allocations: 1.095 MB / 0.7105 GB, free: 9.406 MB / 0.5294 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.007944/0.5318, allocations: 7.874 MB / 0.7182 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.5353, allocations: 1.079 MB / 0.7193 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.5361, allocations: 453.4 kB / 0.7197 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/0.5377, allocations: 1.864 MB / 0.7215 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.5388, allocations: 0.5028 MB / 0.722 GB, free: 14.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 2.725e-06/0.5388, allocations: 0 / 0.722 GB, free: 14.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=84): time 0.00278/0.5416, allocations: 1.302 MB / 0.7233 GB, free: 14.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.5416, allocations: 87.83 kB / 0.7234 GB, free: 14.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.5433, allocations: 1.393 MB / 0.7247 GB, free: 13.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-05/0.5434, allocations: 40.7 kB / 0.7248 GB, free: 13.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006332/0.5441, allocations: 0.819 MB / 0.7256 GB, free: 12.74 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.5443, allocations: 298.8 kB / 0.7259 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.5445, allocations: 90.38 kB / 0.726 GB, free: 12.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5446, allocations: 347.4 kB / 0.7263 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007328/0.5453, allocations: 374.5 kB / 0.7266 GB, free: 11.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009573/0.5463, allocations: 0.6814 MB / 0.7273 GB, free: 11.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.548, allocations: 1.083 MB / 0.7284 GB, free: 10.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.548, allocations: 3.281 kB / 0.7284 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002246/0.5503, allocations: 1.262 MB / 0.7296 GB, free: 9.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.5505, allocations: 353.8 kB / 0.7299 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.5505, allocations: 19.98 kB / 0.73 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.5506, allocations: 12 kB / 0.73 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/0.5514, allocations: 255.6 kB / 0.7302 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.5515, allocations: 19.92 kB / 0.7302 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.5528, allocations: 198.7 kB / 0.7304 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.961e-05/0.5529, allocations: 59.17 kB / 0.7305 GB, free: 8.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.5529, allocations: 4 kB / 0.7305 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002011/0.5549, allocations: 1.093 MB / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.555, allocations: 15.98 kB / 0.7316 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.555, allocations: 16.06 kB / 0.7316 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.5558, allocations: 251.6 kB / 0.7318 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/0.5559, allocations: 23.92 kB / 0.7318 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.5569, allocations: 171 kB / 0.732 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.114e-05/0.557, allocations: 59.97 kB / 0.7321 GB, free: 6.867 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006972/0.5577, allocations: 451.5 kB / 0.7325 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.558, allocations: 169.9 kB / 0.7327 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/0.5607, allocations: 1.478 MB / 0.7341 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.5608, allocations: 15.97 kB / 0.7341 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5608, allocations: 0 / 0.7341 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001907/0.5627, allocations: 1.121 MB / 0.7352 GB, free: 3.621 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.004447/0.5672, allocations: 2.949 MB / 0.7381 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.5672, allocations: 4 kB / 0.7381 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007654/0.568, allocations: 183.8 kB / 0.7383 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.568, allocations: 7.938 kB / 0.7383 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.568, allocations: 36.06 kB / 0.7383 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.5681, allocations: 4 kB / 0.7383 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5681, allocations: 3.938 kB / 0.7383 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/0.5712, allocations: 1.931 MB / 0.7402 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005858/0.5718, allocations: 406.5 kB / 0.7406 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.572, allocations: 24 kB / 0.7406 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009985/0.5731, allocations: 127.9 kB / 0.7407 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.5732, allocations: 76.77 kB / 0.7408 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.95e-05/0.5733, allocations: 47.97 kB / 0.7409 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001285/0.5746, allocations: 0.9357 MB / 0.7418 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5746, allocations: 0 / 0.7418 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002551/0.5771, allocations: 0.9861 MB / 0.7427 GB, free: 11.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (pipe.del.x,pipe.timDel.x,pipe.vol_b.dynBal.U,pipe.vol_a.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * 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.00544/0.5826, allocations: 3.346 MB / 0.746 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003137/0.5857, allocations: 1.715 MB / 0.7477 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5858, allocations: 0 / 0.7477 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.5868, allocations: 0.6268 MB / 0.7483 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/0.5903, allocations: 0.741 MB / 0.749 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/0.6116, allocations: 13.14 MB / 0.7618 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008472/0.6125, allocations: 1.323 MB / 0.7631 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001522/0.614, allocations: 459.1 kB / 0.7636 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008771/0.6149, allocations: 0.7336 MB / 0.7643 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.6149, allocations: 0 / 0.7643 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.536/3.151, allocations: 46.41 MB / 0.8096 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002879/3.151, allocations: 257.5 kB / 0.8099 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.014/6.165, allocations: 3.25 kB / 0.8099 GB, free: 6.988 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)