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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_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.001569/0.001569, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 196.3 kB / 16.53 MB, free: 6.656 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9238/0.9238, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 72.22 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1452, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3888/0.534, allocations: 161.3 MB / 0.742 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.5358, allocations: 0.961 MB / 0.7429 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.5359, allocations: 9.375 kB / 0.7429 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.5364, allocations: 156.5 kB / 0.7431 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.5378, allocations: 0.6329 MB / 0.7437 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.5383, allocations: 223.3 kB / 0.7439 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.5389, allocations: 0.5186 MB / 0.7444 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.5392, allocations: 178.4 kB / 0.7446 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.5395, allocations: 233.6 kB / 0.7448 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.5397, allocations: 157.6 kB / 0.745 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.5398, allocations: 13.75 kB / 0.745 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007731/0.5406, allocations: 0.5397 MB / 0.7455 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.5407, allocations: 84.64 kB / 0.7456 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.5408, allocations: 110.1 kB / 0.7457 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.5414, allocations: 493.5 kB / 0.7462 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5414, allocations: 0 / 0.7462 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5414, allocations: 1.531 kB / 0.7462 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.5415, allocations: 7.922 kB / 0.7462 GB, free: 5.145 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.001319/0.5428, allocations: 0.594 MB / 0.7468 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5428, allocations: 8.406 kB / 0.7468 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.642e-05/0.5429, allocations: 58.42 kB / 0.7468 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.5431, allocations: 44.41 kB / 0.7469 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.5434, allocations: 282.3 kB / 0.7471 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.5435, allocations: 11.33 kB / 0.7471 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.5435, allocations: 19.03 kB / 0.7472 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.544, allocations: 240 kB / 0.7474 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.544, allocations: 3.938 kB / 0.7474 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.5441, allocations: 9.281 kB / 0.7474 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.5441, allocations: 12.5 kB / 0.7474 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.5447, allocations: 250.8 kB / 0.7477 GB, free: 3.969 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.001125/0.5458, allocations: 0.8443 MB / 0.7485 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.5461, allocations: 145 kB / 0.7486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.5464, allocations: 111.5 kB / 0.7487 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/0.5466, allocations: 185.9 kB / 0.7489 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5466, allocations: 38.5 kB / 0.7489 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.5467, allocations: 0 / 0.7489 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007888/0.5474, allocations: 296.5 kB / 0.7492 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.5475, allocations: 58.19 kB / 0.7493 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.5477, allocations: 238.7 kB / 0.7495 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.5477, allocations: 29.7 kB / 0.7495 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.5478, allocations: 138.9 kB / 0.7497 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.5479, allocations: 54.78 kB / 0.7497 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.5479, allocations: 38.33 kB / 0.7498 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.548, allocations: 331.2 kB / 0.7501 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.5482, allocations: 68.17 kB / 0.7501 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.5484, allocations: 100.2 kB / 0.7502 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.5488, allocations: 175.2 kB / 0.7504 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5488, allocations: 3.938 kB / 0.7504 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004406/0.5493, allocations: 218 kB / 0.7506 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.5493, allocations: 5.062 kB / 0.7506 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5493, allocations: 3.031 kB / 0.7506 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5493, allocations: 4.062 kB / 0.7506 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.5495, allocations: 31.12 kB / 0.7507 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5495, allocations: 0 / 0.7507 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.5497, allocations: 23.89 kB / 0.7507 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.5497, allocations: 9.375 kB / 0.7507 GB, free: 1.559 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 0.0001117/0.5498, allocations: 146 kB / 0.7508 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.5499, allocations: 26.5 kB / 0.7508 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.356e-05/0.55, allocations: 33.89 kB / 0.7509 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.55, allocations: 4 kB / 0.7509 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.55, allocations: 0 / 0.7509 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.55, allocations: 0 / 0.7509 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000955/0.5509, allocations: 0.6749 MB / 0.7515 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.551, allocations: 2.781 kB / 0.7515 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.5511, allocations: 33 kB / 0.7516 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.5511, allocations: 2.812 kB / 0.7516 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.5512, allocations: 10 kB / 0.7516 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5512, allocations: 2.438 kB / 0.7516 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5512, allocations: 2.938 kB / 0.7516 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.5517, allocations: 362.5 kB / 0.7519 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.5518, allocations: 114 kB / 0.752 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.5518, allocations: 2.219 kB / 0.7521 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.552, allocations: 13.27 kB / 0.7521 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.552, allocations: 15.55 kB / 0.7521 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.5521, allocations: 5.969 kB / 0.7521 GB, free: 364 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001406/0.5522, allocations: 178.5 kB / 0.7523 GB, free: 236 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5522, allocations: 7.938 kB / 0.7523 GB, free: 228 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003228/0.5525, allocations: 53.16 kB / 0.7523 GB, free: 224 kB / 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.0009048/0.5534, allocations: 0.9377 MB / 0.7532 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.5539, allocations: 186.2 kB / 0.7534 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5539, allocations: 0 / 0.7534 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.5541, allocations: 92 kB / 0.7535 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/0.5548, allocations: 130.9 kB / 0.7536 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.5576, allocations: 2.461 MB / 0.756 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.5579, allocations: 0.7557 MB / 0.7568 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002109/0.5581, allocations: 67.22 kB / 0.7568 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.5582, allocations: 63.42 kB / 0.7569 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.5582, allocations: 0 / 0.7569 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.5816, allocations: 6.848 MB / 0.7636 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/7.975, allocations: 13.97 kB / 0.7636 GB, free: 5.121 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)