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.00127/0.00127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001598/0.001598, allocations: 197 kB / 16.26 MB, free: 6.621 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.252/1.252, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7133/0.7133, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 67.17 kB / 0.5013 GB, free: 9.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.124, allocations: 80.21 MB / 0.5797 GB, free: 9.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.357/0.481, allocations: 159.1 MB / 0.7351 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.4826, allocations: 0.9602 MB / 0.736 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.4828, allocations: 8.688 kB / 0.736 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.4832, allocations: 137.8 kB / 0.7361 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.4844, allocations: 0.5961 MB / 0.7367 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.4849, allocations: 200.5 kB / 0.7369 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.4854, allocations: 0.5198 MB / 0.7374 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.4857, allocations: 178.8 kB / 0.7376 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.486, allocations: 239.2 kB / 0.7378 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.4862, allocations: 171.5 kB / 0.738 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.4863, allocations: 16.91 kB / 0.738 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.4869, allocations: 0.5617 MB / 0.7385 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.203e-05/0.487, allocations: 80.53 kB / 0.7386 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.4871, allocations: 115.9 kB / 0.7387 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.4877, allocations: 0.5214 MB / 0.7392 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.4877, allocations: 0 / 0.7392 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.01e-07/0.4877, allocations: 7.938 kB / 0.7392 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4877, allocations: 0 / 0.7392 GB, free: 12.25 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.001219/0.4889, allocations: 0.5981 MB / 0.7398 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.489, allocations: 10.22 kB / 0.7398 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.489, allocations: 52.33 kB / 0.7399 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.4892, allocations: 47.95 kB / 0.7399 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.4895, allocations: 279.8 kB / 0.7402 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4895, allocations: 15.05 kB / 0.7402 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.4896, allocations: 19.69 kB / 0.7402 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.49, allocations: 243 kB / 0.7405 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.49, allocations: 0 / 0.7405 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.4901, allocations: 5.875 kB / 0.7405 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.4901, allocations: 9.219 kB / 0.7405 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005334/0.4906, allocations: 257.1 kB / 0.7407 GB, free: 11.27 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.001069/0.4917, allocations: 0.8348 MB / 0.7415 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.492, allocations: 148.1 kB / 0.7417 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.4922, allocations: 110.3 kB / 0.7418 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/0.4924, allocations: 191.2 kB / 0.742 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.4924, allocations: 40.28 kB / 0.742 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.4925, allocations: 0 / 0.742 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007016/0.4932, allocations: 294.9 kB / 0.7423 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.4932, allocations: 54.16 kB / 0.7423 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.4934, allocations: 245.6 kB / 0.7426 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.4934, allocations: 27.08 kB / 0.7426 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.4935, allocations: 138.8 kB / 0.7427 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.4936, allocations: 48.05 kB / 0.7428 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.4936, allocations: 39.2 kB / 0.7428 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.4937, allocations: 331 kB / 0.7431 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.4939, allocations: 72.47 kB / 0.7432 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.4941, allocations: 108.6 kB / 0.7433 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.4944, allocations: 166.5 kB / 0.7435 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4944, allocations: 0 / 0.7435 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004102/0.4949, allocations: 218.7 kB / 0.7437 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4949, allocations: 5.281 kB / 0.7437 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4949, allocations: 0 / 0.7437 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.4949, allocations: 6.406 kB / 0.7437 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.4951, allocations: 30.88 kB / 0.7437 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4951, allocations: 2.688 kB / 0.7437 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.4953, allocations: 29.58 kB / 0.7437 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.4953, allocations: 8.875 kB / 0.7438 GB, free: 9.145 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.0001098/0.4954, allocations: 150.1 kB / 0.7439 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.4955, allocations: 25.03 kB / 0.7439 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.4955, allocations: 25.5 kB / 0.7439 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4956, allocations: 6.516 kB / 0.7439 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4956, allocations: 0 / 0.7439 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4956, allocations: 0 / 0.7439 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008796/0.4964, allocations: 0.6815 MB / 0.7446 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4965, allocations: 0 / 0.7446 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.4966, allocations: 34.64 kB / 0.7446 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4966, allocations: 5.234 kB / 0.7447 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.4966, allocations: 11.97 kB / 0.7447 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4967, allocations: 6.719 kB / 0.7447 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4967, allocations: 2.094 kB / 0.7447 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.4971, allocations: 353.5 kB / 0.745 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.4972, allocations: 112.6 kB / 0.7451 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.4972, allocations: 6.578 kB / 0.7451 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.4974, allocations: 15.5 kB / 0.7451 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.4975, allocations: 15.3 kB / 0.7452 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.4975, allocations: 11.78 kB / 0.7452 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001301/0.4976, allocations: 178.6 kB / 0.7453 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4976, allocations: 0 / 0.7453 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003149/0.4979, allocations: 58.31 kB / 0.7454 GB, free: 7.797 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.0008277/0.4988, allocations: 0.9422 MB / 0.7463 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.4992, allocations: 172.6 kB / 0.7465 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4992, allocations: 3.938 kB / 0.7465 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.4994, allocations: 98.47 kB / 0.7466 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/0.5, allocations: 127.9 kB / 0.7467 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.5026, allocations: 2.504 MB / 0.7491 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.5029, allocations: 0.7571 MB / 0.7499 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.5031, allocations: 64.2 kB / 0.7499 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/0.5032, allocations: 68.38 kB / 0.75 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of SimCode: time 2.355e-06/0.5032, allocations: 0 / 0.75 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.91/2.413, allocations: 6.694 MB / 0.7565 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/2.413, allocations: 232.3 kB / 0.7568 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/4.39, allocations: 10.34 kB / 0.7568 GB, free: 13.54 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)