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.0009084/0.0009084, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005533/0.005533, allocations: 170 kB / 16.26 MB, free: 6.613 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001696/0.001696, allocations: 262.9 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9429/0.9429, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004157, allocations: 13.73 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1621, allocations: 88.55 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5321/0.6942, allocations: 157 MB / 0.8386 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.6962, allocations: 0.9492 MB / 0.8395 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.6966, allocations: 7.344 kB / 0.8395 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.6972, allocations: 139.8 kB / 0.8396 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.699, allocations: 0.5924 MB / 0.8402 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.6996, allocations: 200.6 kB / 0.8404 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008286/0.7005, allocations: 0.7401 MB / 0.8411 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.7008, allocations: 162 kB / 0.8413 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004793/0.7013, allocations: 213.7 kB / 0.8415 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.7015, allocations: 170.4 kB / 0.8416 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.7016, allocations: 8.594 kB / 0.8416 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009763/0.7025, allocations: 0.6293 MB / 0.8423 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.7026, allocations: 76.56 kB / 0.8423 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.7028, allocations: 136.8 kB / 0.8425 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.7034, allocations: 0.5107 MB / 0.843 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7034, allocations: 0 / 0.843 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7034, allocations: 0 / 0.843 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.7034, allocations: 0 / 0.843 GB, free: 4.992 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.001246/0.7046, allocations: 0.55 MB / 0.8435 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.7047, allocations: 9.531 kB / 0.8435 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.7048, allocations: 52.86 kB / 0.8436 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.705, allocations: 45.09 kB / 0.8436 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.7053, allocations: 294.7 kB / 0.8439 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.7053, allocations: 9.172 kB / 0.8439 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.7054, allocations: 16.34 kB / 0.8439 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.7058, allocations: 253.6 kB / 0.8441 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.7058, allocations: 0 / 0.8441 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.7059, allocations: 9.812 kB / 0.8442 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.7059, allocations: 7.219 kB / 0.8442 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.7065, allocations: 268.2 kB / 0.8444 GB, free: 3.832 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.00117/0.7077, allocations: 0.8288 MB / 0.8452 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.708, allocations: 156.6 kB / 0.8454 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.7082, allocations: 117 kB / 0.8455 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.7084, allocations: 188.5 kB / 0.8457 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.7085, allocations: 41.12 kB / 0.8457 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.7085, allocations: 0 / 0.8457 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007704/0.7092, allocations: 315.6 kB / 0.846 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.7093, allocations: 53.78 kB / 0.8461 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.7095, allocations: 242.2 kB / 0.8463 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.7095, allocations: 32.58 kB / 0.8463 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.7096, allocations: 136.4 kB / 0.8465 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.7097, allocations: 51.55 kB / 0.8465 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.7097, allocations: 20.31 kB / 0.8465 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7098, allocations: 333 kB / 0.8468 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.71, allocations: 74.12 kB / 0.8469 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.7102, allocations: 109.7 kB / 0.847 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.7106, allocations: 183.6 kB / 0.8472 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7106, allocations: 0 / 0.8472 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004465/0.7111, allocations: 220.4 kB / 0.8474 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.7111, allocations: 13.22 kB / 0.8474 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.7111, allocations: 3.938 kB / 0.8474 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.7111, allocations: 6.766 kB / 0.8474 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.7113, allocations: 32.83 kB / 0.8475 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.7113, allocations: 4.062 kB / 0.8475 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.7115, allocations: 24.92 kB / 0.8475 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.7115, allocations: 14.69 kB / 0.8475 GB, free: 1.426 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.0001279/0.7116, allocations: 144.1 kB / 0.8476 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.7117, allocations: 26.64 kB / 0.8477 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.7118, allocations: 31.64 kB / 0.8477 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7118, allocations: 6.094 kB / 0.8477 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7118, allocations: 0 / 0.8477 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7118, allocations: 3.625 kB / 0.8477 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.7128, allocations: 0.6887 MB / 0.8484 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7128, allocations: 2.531 kB / 0.8484 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.713, allocations: 32.8 kB / 0.8484 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.713, allocations: 6.078 kB / 0.8484 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.713, allocations: 7 kB / 0.8484 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.713, allocations: 2.938 kB / 0.8484 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.713, allocations: 2.75 kB / 0.8484 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.7135, allocations: 371.4 kB / 0.8488 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.7136, allocations: 106.7 kB / 0.8489 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.7136, allocations: 15.27 kB / 0.8489 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.7138, allocations: 11.56 kB / 0.8489 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.7139, allocations: 20.11 kB / 0.8489 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.7139, allocations: 9.859 kB / 0.8489 GB, free: 228 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001371/0.714, allocations: 173.8 kB / 0.8491 GB, free: 104 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7141, allocations: 0 / 0.8491 GB, free: 104 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003475/0.7144, allocations: 65.27 kB / 0.8492 GB, free: 88 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.0009514/0.7154, allocations: 0.9458 MB / 0.8501 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004208/0.7158, allocations: 182.7 kB / 0.8503 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7158, allocations: 0 / 0.8503 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.716, allocations: 107.8 kB / 0.8504 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/0.7168, allocations: 123.1 kB / 0.8505 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.7197, allocations: 2.554 MB / 0.853 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.72, allocations: 0.7535 MB / 0.8537 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002307/0.7202, allocations: 58.59 kB / 0.8538 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.7203, allocations: 68.47 kB / 0.8538 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.7204, allocations: 0 / 0.8538 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.7386, allocations: 6.43 MB / 0.8601 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003201/0.739, allocations: 270 kB / 0.8604 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.486, allocations: 2.156 kB / 0.8604 GB, free: 8.863 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)