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.001/0.001, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005607/0.005607, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.158/1.158, 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.837/0.837, allocations: 135.3 MB / 426.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003334, allocations: 12 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3655/0.5007, allocations: 157 MB / 0.7414 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.5023, allocations: 0.9556 MB / 0.7423 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.5024, allocations: 10.62 kB / 0.7423 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.5029, allocations: 126.2 kB / 0.7425 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.5041, allocations: 0.5986 MB / 0.743 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.5045, allocations: 198.5 kB / 0.7432 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006384/0.5052, allocations: 0.7336 MB / 0.7439 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.5054, allocations: 160.5 kB / 0.7441 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000324/0.5058, allocations: 208.9 kB / 0.7443 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.506, allocations: 170.6 kB / 0.7445 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.506, allocations: 6.188 kB / 0.7445 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007719/0.5068, allocations: 0.6406 MB / 0.7451 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.5069, allocations: 73.92 kB / 0.7452 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.507, allocations: 136.7 kB / 0.7453 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.5075, allocations: 0.5051 MB / 0.7458 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.5076, allocations: 0 / 0.7458 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5076, allocations: 0 / 0.7458 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.5076, allocations: 0 / 0.7458 GB, free: 7.844 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.001207/0.5088, allocations: 0.5681 MB / 0.7463 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.5088, allocations: 9.625 kB / 0.7464 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.5089, allocations: 52.55 kB / 0.7464 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.5091, allocations: 45.81 kB / 0.7464 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.5094, allocations: 276.9 kB / 0.7467 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5094, allocations: 11.95 kB / 0.7467 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.5095, allocations: 20.5 kB / 0.7467 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.5099, allocations: 242.3 kB / 0.747 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.5099, allocations: 0 / 0.747 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.51, allocations: 9.375 kB / 0.747 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.51, allocations: 12.23 kB / 0.747 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005707/0.5106, allocations: 268 kB / 0.7472 GB, free: 6.734 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.001113/0.5117, allocations: 0.8456 MB / 0.7481 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.512, allocations: 145 kB / 0.7482 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.5122, allocations: 121.1 kB / 0.7483 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.5125, allocations: 184.3 kB / 0.7485 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.5125, allocations: 44.16 kB / 0.7485 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.5125, allocations: 0 / 0.7485 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007479/0.5133, allocations: 319.7 kB / 0.7489 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.5133, allocations: 58.16 kB / 0.7489 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.5135, allocations: 239.2 kB / 0.7491 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.5135, allocations: 31.45 kB / 0.7492 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.5136, allocations: 130.3 kB / 0.7493 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.5137, allocations: 56.66 kB / 0.7493 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.5137, allocations: 17.41 kB / 0.7494 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5138, allocations: 336 kB / 0.7497 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.514, allocations: 75.69 kB / 0.7498 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.5142, allocations: 111.3 kB / 0.7499 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.5146, allocations: 190.2 kB / 0.75 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5146, allocations: 0 / 0.75 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004195/0.515, allocations: 227.6 kB / 0.7503 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.515, allocations: 7.844 kB / 0.7503 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.515, allocations: 0 / 0.7503 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.515, allocations: 0 / 0.7503 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.5152, allocations: 36.69 kB / 0.7503 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.5152, allocations: 2.906 kB / 0.7503 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.5154, allocations: 27.44 kB / 0.7503 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.5154, allocations: 9.781 kB / 0.7503 GB, free: 4.324 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.0001077/0.5156, allocations: 135.4 kB / 0.7505 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.5156, allocations: 30.73 kB / 0.7505 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.5157, allocations: 29.84 kB / 0.7505 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5157, allocations: 0 / 0.7505 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5157, allocations: 4 kB / 0.7505 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5157, allocations: 7.234 kB / 0.7505 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.5167, allocations: 0.691 MB / 0.7512 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.5167, allocations: 0 / 0.7512 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.5168, allocations: 28.86 kB / 0.7512 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5168, allocations: 2.938 kB / 0.7512 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.5168, allocations: 7.031 kB / 0.7512 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5168, allocations: 7.359 kB / 0.7513 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5169, allocations: 10.48 kB / 0.7513 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.5173, allocations: 357.2 kB / 0.7516 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.5174, allocations: 113.2 kB / 0.7517 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.5174, allocations: 7.344 kB / 0.7517 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.5176, allocations: 17.7 kB / 0.7517 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.5177, allocations: 17.14 kB / 0.7518 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.5177, allocations: 6.375 kB / 0.7518 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001292/0.5178, allocations: 182.4 kB / 0.7519 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5178, allocations: 0 / 0.7519 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003039/0.5181, allocations: 65.03 kB / 0.752 GB, free: 2.98 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.000876/0.519, allocations: 0.9522 MB / 0.7529 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.5194, allocations: 181.7 kB / 0.7531 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5195, allocations: 0 / 0.7531 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.5197, allocations: 99.94 kB / 0.7532 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.5204, allocations: 127.3 kB / 0.7533 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.5231, allocations: 2.552 MB / 0.7558 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.5234, allocations: 0.7514 MB / 0.7565 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.5236, allocations: 66.39 kB / 0.7566 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.5237, allocations: 66.97 kB / 0.7567 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of SimCode: time 3.6e-07/0.5237, allocations: 0 / 0.7567 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9822/1.506, allocations: 6.4 MB / 0.7629 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/1.506, allocations: 242.8 kB / 0.7631 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.909, allocations: 3.938 kB / 0.7632 GB, free: 8.785 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)