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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",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.001792/0.001792, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001597/0.001597, allocations: 201.1 kB / 16.14 MB, free: 6.664 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.124/1.124, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6398/0.6398, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 64.61 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1163, allocations: 80.2 MB / 0.5795 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3165/0.4328, allocations: 159.1 MB / 0.7348 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.4344, allocations: 0.9616 MB / 0.7358 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.4346, allocations: 12.19 kB / 0.7358 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.4351, allocations: 127.5 kB / 0.7359 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.4363, allocations: 0.5933 MB / 0.7365 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.4367, allocations: 202.4 kB / 0.7367 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005809/0.4373, allocations: 0.7416 MB / 0.7374 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.4376, allocations: 160.5 kB / 0.7376 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.4379, allocations: 219 kB / 0.7378 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.4381, allocations: 172.1 kB / 0.7379 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.4381, allocations: 9.656 kB / 0.738 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007445/0.4389, allocations: 0.6306 MB / 0.7386 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.027e-05/0.439, allocations: 74.58 kB / 0.7386 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.4391, allocations: 119.9 kB / 0.7388 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.4396, allocations: 0.5137 MB / 0.7393 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.4396, allocations: 0 / 0.7393 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.81e-07/0.4396, allocations: 0 / 0.7393 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.4396, allocations: 4 kB / 0.7393 GB, free: 12.41 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.001183/0.4408, allocations: 0.5898 MB / 0.7398 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.4409, allocations: 12.66 kB / 0.7398 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.4409, allocations: 51.89 kB / 0.7399 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.4411, allocations: 44.12 kB / 0.7399 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.4414, allocations: 281.5 kB / 0.7402 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4414, allocations: 11.45 kB / 0.7402 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.4415, allocations: 14.62 kB / 0.7402 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.4419, allocations: 250.8 kB / 0.7405 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.4419, allocations: 3.938 kB / 0.7405 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.4419, allocations: 8 kB / 0.7405 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.4419, allocations: 7.625 kB / 0.7405 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.4425, allocations: 250.6 kB / 0.7407 GB, free: 11.24 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.0009958/0.4435, allocations: 0.8363 MB / 0.7415 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.4437, allocations: 150.2 kB / 0.7417 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.4439, allocations: 110.2 kB / 0.7418 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.4441, allocations: 188.2 kB / 0.742 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.4442, allocations: 48.03 kB / 0.742 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.4442, allocations: 0 / 0.742 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0006888/0.4449, allocations: 290.1 kB / 0.7423 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.4449, allocations: 56.72 kB / 0.7423 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.4451, allocations: 243.8 kB / 0.7426 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4451, allocations: 35.17 kB / 0.7426 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.4452, allocations: 134 kB / 0.7427 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.4452, allocations: 50.33 kB / 0.7428 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.4453, allocations: 34.02 kB / 0.7428 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/0.4454, allocations: 332.1 kB / 0.7431 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.4456, allocations: 66.61 kB / 0.7432 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.4457, allocations: 108.7 kB / 0.7433 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.4461, allocations: 162.2 kB / 0.7435 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4461, allocations: 5.344 kB / 0.7435 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000392/0.4465, allocations: 229.3 kB / 0.7437 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.4465, allocations: 4.188 kB / 0.7437 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.4465, allocations: 1.75 kB / 0.7437 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.4465, allocations: 1.969 kB / 0.7437 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.4467, allocations: 34.38 kB / 0.7437 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.4467, allocations: 1.844 kB / 0.7437 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.4468, allocations: 25.86 kB / 0.7438 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.4469, allocations: 6.719 kB / 0.7438 GB, free: 8.828 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/0.447, allocations: 141.4 kB / 0.7439 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.447, allocations: 28.06 kB / 0.7439 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.541e-05/0.4471, allocations: 31.11 kB / 0.7439 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.4471, allocations: 2.719 kB / 0.744 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.4471, allocations: 3.938 kB / 0.744 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4471, allocations: 0 / 0.744 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008434/0.448, allocations: 0.6738 MB / 0.7446 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.448, allocations: 2.75 kB / 0.7446 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.4481, allocations: 30.19 kB / 0.7446 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4481, allocations: 6.75 kB / 0.7447 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4481, allocations: 6.75 kB / 0.7447 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.4482, allocations: 6.688 kB / 0.7447 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4482, allocations: 2.75 kB / 0.7447 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.4486, allocations: 356.9 kB / 0.745 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.4487, allocations: 113.7 kB / 0.7451 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.4487, allocations: 2.688 kB / 0.7451 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.4489, allocations: 18.83 kB / 0.7451 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.4489, allocations: 13.86 kB / 0.7452 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.4489, allocations: 6.719 kB / 0.7452 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001208/0.449, allocations: 179.5 kB / 0.7453 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4491, allocations: 0 / 0.7453 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002868/0.4493, allocations: 61.97 kB / 0.7454 GB, free: 7.488 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 (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.0007562/0.4501, allocations: 0.9557 MB / 0.7463 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.4505, allocations: 166 kB / 0.7465 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4505, allocations: 0 / 0.7465 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.4507, allocations: 95.03 kB / 0.7466 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.4513, allocations: 116.1 kB / 0.7467 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.4537, allocations: 2.513 MB / 0.7491 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.4539, allocations: 0.7477 MB / 0.7499 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001898/0.4541, allocations: 65.8 kB / 0.7499 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.4542, allocations: 68.66 kB / 0.75 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4542, allocations: 4 kB / 0.75 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.454/7.908, allocations: 6.528 MB / 0.7564 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/7.909, allocations: 234.2 kB / 0.7566 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/10.29, allocations: 0 / 0.7566 GB, free: 13.61 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)