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.001158/0.001158, allocations: 108 kB / 15.6 MB, free: 132 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.001254/0.001254, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 286.6 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9163/0.9163, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 102.1 kB / 0.5953 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1402, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4344/0.5746, allocations: 161.3 MB / 0.8378 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.5764, allocations: 0.9673 MB / 0.8388 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.5766, allocations: 9.469 kB / 0.8388 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.5771, allocations: 157.4 kB / 0.8389 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.5785, allocations: 0.6376 MB / 0.8395 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.579, allocations: 214.4 kB / 0.8397 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.5795, allocations: 0.5266 MB / 0.8403 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.5798, allocations: 167.2 kB / 0.8404 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.5802, allocations: 228.8 kB / 0.8406 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.5804, allocations: 162.7 kB / 0.8408 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.5804, allocations: 18.47 kB / 0.8408 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008839/0.5813, allocations: 0.5355 MB / 0.8413 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.5814, allocations: 82.78 kB / 0.8414 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.5816, allocations: 109 kB / 0.8415 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006306/0.5822, allocations: 499.9 kB / 0.842 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5822, allocations: 1.938 kB / 0.842 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5822, allocations: 0 / 0.842 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.5822, 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.001371/0.5836, allocations: 0.5973 MB / 0.8426 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5837, allocations: 9.625 kB / 0.8426 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.5837, allocations: 48.45 kB / 0.8426 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.584, allocations: 54.73 kB / 0.8427 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.5843, allocations: 283 kB / 0.8429 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.5843, allocations: 11.7 kB / 0.843 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.5844, allocations: 17.75 kB / 0.843 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.5849, allocations: 242.7 kB / 0.8432 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5849, allocations: 0 / 0.8432 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.5849, allocations: 12.56 kB / 0.8432 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.5849, allocations: 12.09 kB / 0.8432 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.5856, allocations: 250.8 kB / 0.8435 GB, free: 14.8 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.001204/0.5868, allocations: 0.8365 MB / 0.8443 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.5871, allocations: 147.3 kB / 0.8444 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.5873, allocations: 116.8 kB / 0.8445 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.5876, allocations: 190.9 kB / 0.8447 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.5876, allocations: 33.62 kB / 0.8448 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.5877, allocations: 0 / 0.8448 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0008252/0.5885, allocations: 304.7 kB / 0.845 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.5885, allocations: 52.78 kB / 0.8451 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.5888, allocations: 244.3 kB / 0.8453 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.5888, allocations: 30.92 kB / 0.8454 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.5889, allocations: 131.1 kB / 0.8455 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.5889, allocations: 55.28 kB / 0.8455 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.589, allocations: 39.98 kB / 0.8456 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5891, allocations: 326.8 kB / 0.8459 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.5893, allocations: 71.53 kB / 0.846 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.5895, allocations: 100.5 kB / 0.846 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.5899, allocations: 173.3 kB / 0.8462 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.5899, allocations: 1.75 kB / 0.8462 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004441/0.5904, allocations: 205.4 kB / 0.8464 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5904, allocations: 13.08 kB / 0.8464 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5904, allocations: 4.062 kB / 0.8464 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.5904, allocations: 2.438 kB / 0.8464 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.5906, allocations: 33.88 kB / 0.8465 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5906, allocations: 1.312 kB / 0.8465 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.5908, allocations: 24.75 kB / 0.8465 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.5909, allocations: 13.2 kB / 0.8465 GB, free: 12.71 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.0001369/0.591, allocations: 144.5 kB / 0.8466 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.5911, allocations: 30.5 kB / 0.8467 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.714e-05/0.5911, allocations: 37.92 kB / 0.8467 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5911, allocations: 0 / 0.8467 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5912, allocations: 2.188 kB / 0.8467 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5912, allocations: 2.531 kB / 0.8467 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009854/0.5921, allocations: 0.6783 MB / 0.8474 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5922, allocations: 2.625 kB / 0.8474 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.5923, allocations: 28.8 kB / 0.8474 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.5923, allocations: 3.312 kB / 0.8474 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.5924, allocations: 6.359 kB / 0.8474 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5924, allocations: 2.406 kB / 0.8474 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5924, allocations: 7.672 kB / 0.8474 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.5929, allocations: 353.3 kB / 0.8478 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/0.593, allocations: 110.2 kB / 0.8479 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.593, allocations: 9.391 kB / 0.8479 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.5932, allocations: 5.438 kB / 0.8479 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.5932, allocations: 17.36 kB / 0.8479 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.5932, allocations: 9.219 kB / 0.8479 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001432/0.5934, allocations: 185.5 kB / 0.8481 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5934, allocations: 0 / 0.8481 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000358/0.5938, allocations: 57.41 kB / 0.8481 GB, free: 11.39 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.0009518/0.5947, allocations: 0.9488 MB / 0.8491 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.5952, allocations: 178.1 kB / 0.8492 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5952, allocations: 0 / 0.8492 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.5954, allocations: 96.12 kB / 0.8493 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/0.5961, allocations: 123.5 kB / 0.8494 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.599, allocations: 2.462 MB / 0.8518 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.5994, allocations: 0.7554 MB / 0.8526 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002257/0.5996, allocations: 58.5 kB / 0.8526 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.5997, allocations: 67.94 kB / 0.8527 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.5997, allocations: 0 / 0.8527 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.6246, allocations: 6.885 MB / 0.8594 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.13/7.754, allocations: 11.91 kB / 0.8594 GB, free: 4.207 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)