Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_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.001139/0.001139, allocations: 108 kB / 15.61 MB, free: 152 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.001173/0.001173, allocations: 195.5 kB / 16.53 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 274.9 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 94.91 kB / 0.5953 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1395, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4478/0.5874, allocations: 161.3 MB / 0.8378 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.589, allocations: 0.9676 MB / 0.8388 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.5891, allocations: 9.562 kB / 0.8388 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.5896, allocations: 158.7 kB / 0.8389 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.591, allocations: 0.6421 MB / 0.8395 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.5915, allocations: 218.1 kB / 0.8398 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.592, allocations: 0.5169 MB / 0.8403 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.5923, allocations: 169.2 kB / 0.8404 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.5927, allocations: 232.7 kB / 0.8406 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.5929, allocations: 162.3 kB / 0.8408 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.593, allocations: 13.78 kB / 0.8408 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008475/0.5938, allocations: 0.5425 MB / 0.8413 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.5939, allocations: 79.38 kB / 0.8414 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.594, allocations: 113.5 kB / 0.8415 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006021/0.5947, allocations: 487.3 kB / 0.842 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5947, allocations: 0 / 0.842 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.634e-06/0.5947, allocations: 2.578 kB / 0.842 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.5947, allocations: 0 / 0.842 GB, free: 15.59 MB / 0.5762 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.0013/0.596, allocations: 0.5955 MB / 0.8426 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.596, allocations: 13.62 kB / 0.8426 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.549e-05/0.5961, allocations: 54.2 kB / 0.8426 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.5964, allocations: 52.98 kB / 0.8427 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.5967, allocations: 280.2 kB / 0.843 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.5967, allocations: 11.27 kB / 0.843 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.5968, allocations: 17.88 kB / 0.843 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.5973, allocations: 235.8 kB / 0.8432 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.5973, allocations: 0 / 0.8432 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.5973, allocations: 10.98 kB / 0.8432 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.5973, allocations: 18.25 kB / 0.8432 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006033/0.5979, allocations: 255.2 kB / 0.8435 GB, free: 14.78 MB / 0.5762 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.001171/0.5991, allocations: 0.837 MB / 0.8443 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.5994, allocations: 146.2 kB / 0.8444 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.5997, allocations: 114.5 kB / 0.8445 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.5999, allocations: 184.6 kB / 0.8447 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.6, allocations: 32 kB / 0.8447 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.6, allocations: 3.938 kB / 0.8448 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0008045/0.6008, allocations: 314.2 kB / 0.8451 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.6008, allocations: 54.16 kB / 0.8451 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.6011, allocations: 241.4 kB / 0.8453 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.6011, allocations: 29.86 kB / 0.8454 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.6012, allocations: 128.2 kB / 0.8455 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.6013, allocations: 53.77 kB / 0.8455 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.6013, allocations: 38.36 kB / 0.8456 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6015, allocations: 331.8 kB / 0.8459 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.6017, allocations: 66.78 kB / 0.846 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.6019, allocations: 103.4 kB / 0.8461 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.6023, allocations: 177.5 kB / 0.8462 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6023, allocations: 1.188 kB / 0.8462 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004678/0.6028, allocations: 205.1 kB / 0.8464 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6028, allocations: 9.656 kB / 0.8464 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6028, allocations: 5.719 kB / 0.8464 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6029, allocations: 4.062 kB / 0.8464 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.6031, allocations: 34.41 kB / 0.8465 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.6031, allocations: 2.312 kB / 0.8465 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.6032, allocations: 19.8 kB / 0.8465 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.6033, allocations: 9.719 kB / 0.8465 GB, free: 12.7 MB / 0.5762 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.00013/0.6034, allocations: 145.3 kB / 0.8466 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.6035, allocations: 25.31 kB / 0.8467 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.823e-05/0.6036, allocations: 28.28 kB / 0.8467 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6036, allocations: 5.281 kB / 0.8467 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6036, allocations: 1.031 kB / 0.8467 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6036, allocations: 3.984 kB / 0.8467 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.6046, allocations: 0.6887 MB / 0.8474 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6046, allocations: 0 / 0.8474 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.6048, allocations: 30.16 kB / 0.8474 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.6048, allocations: 6.672 kB / 0.8474 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.6048, allocations: 2.656 kB / 0.8474 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.6048, allocations: 6.641 kB / 0.8474 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6048, allocations: 6.625 kB / 0.8474 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.6053, allocations: 354.8 kB / 0.8478 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.6054, allocations: 109.5 kB / 0.8479 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.6055, allocations: 7.281 kB / 0.8479 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.6057, allocations: 11.17 kB / 0.8479 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.6057, allocations: 17.61 kB / 0.8479 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.6057, allocations: 5.312 kB / 0.8479 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001482/0.6059, allocations: 184.8 kB / 0.8481 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6059, allocations: 0 / 0.8481 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003475/0.6063, allocations: 58.81 kB / 0.8481 GB, free: 11.37 MB / 0.5762 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.0009671/0.6072, allocations: 0.9441 MB / 0.8491 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.6077, allocations: 183.6 kB / 0.8492 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6077, allocations: 2.438 kB / 0.8492 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.6079, allocations: 93.41 kB / 0.8493 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.6087, allocations: 121.3 kB / 0.8494 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.6119, allocations: 2.458 MB / 0.8518 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.6123, allocations: 0.7533 MB / 0.8526 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.6125, allocations: 64.58 kB / 0.8526 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.6127, allocations: 68.91 kB / 0.8527 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.6127, allocations: 0 / 0.8527 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4126/1.025, allocations: 6.874 MB / 0.8594 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.666, allocations: 11.94 kB / 0.8594 GB, free: 4.195 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)