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.005204/0.005204, allocations: 100 kB / 15.73 MB, free: 6.02 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.001409/0.00141, allocations: 195 kB / 16.67 MB, free: 5.93 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002502/0.002502, allocations: 296.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 99.84 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4196, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1806/0.6003, allocations: 161.3 MB / 0.9234 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.6023, allocations: 0.9687 MB / 0.9244 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.6025, allocations: 7.938 kB / 0.9244 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.6031, allocations: 159 kB / 0.9245 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.6048, allocations: 0.638 MB / 0.9252 GB, free: 136 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.6055, allocations: 214.6 kB / 0.9254 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007185/0.6062, allocations: 0.5303 MB / 0.9259 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/0.6066, allocations: 176.2 kB / 0.9261 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004828/0.6071, allocations: 235.1 kB / 0.9263 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.6073, allocations: 151.4 kB / 0.9264 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.6074, allocations: 19.98 kB / 0.9264 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.6084, allocations: 0.5416 MB / 0.927 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.6086, allocations: 87.7 kB / 0.9271 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.6087, allocations: 107.5 kB / 0.9272 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007694/0.6095, allocations: 0.4957 MB / 0.9276 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.6095, allocations: 0 / 0.9276 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6095, allocations: 0 / 0.9276 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.6095, allocations: 0 / 0.9276 GB, free: 13.6 MB / 0.7012 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.001527/0.611, allocations: 0.6035 MB / 0.9282 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.6111, allocations: 12.03 kB / 0.9282 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.249e-05/0.6112, allocations: 62.42 kB / 0.9283 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.6114, allocations: 47.78 kB / 0.9283 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.6119, allocations: 291.8 kB / 0.9286 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.6119, allocations: 12.33 kB / 0.9286 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.612, allocations: 16 kB / 0.9286 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.6125, allocations: 243.8 kB / 0.9289 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.6125, allocations: 0 / 0.9289 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.6125, allocations: 4 kB / 0.9289 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.6126, allocations: 11.98 kB / 0.9289 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.6131, allocations: 247.8 kB / 0.9291 GB, free: 11.96 MB / 0.7012 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.00134/0.6145, allocations: 0.8394 MB / 0.93 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.6148, allocations: 142.4 kB / 0.9301 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.6151, allocations: 116.8 kB / 0.9302 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.6154, allocations: 194.2 kB / 0.9304 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.6154, allocations: 34.5 kB / 0.9304 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.6154, allocations: 0 / 0.9304 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.00086/0.6163, allocations: 309.3 kB / 0.9307 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.6163, allocations: 51.41 kB / 0.9308 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.6166, allocations: 245 kB / 0.931 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.6166, allocations: 25.7 kB / 0.931 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.6167, allocations: 144.3 kB / 0.9312 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.6168, allocations: 43.58 kB / 0.9312 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.6169, allocations: 37.7 kB / 0.9312 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.617, allocations: 334.8 kB / 0.9316 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.6172, allocations: 63.94 kB / 0.9316 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.6175, allocations: 109.7 kB / 0.9317 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.6178, allocations: 167.7 kB / 0.9319 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6179, allocations: 0 / 0.9319 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005012/0.6184, allocations: 223.7 kB / 0.9321 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.6184, allocations: 11.94 kB / 0.9321 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6184, allocations: 0 / 0.9321 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6184, allocations: 0 / 0.9321 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.6186, allocations: 36.05 kB / 0.9321 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.6186, allocations: 0 / 0.9321 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.6188, allocations: 23.81 kB / 0.9322 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.6189, allocations: 11.98 kB / 0.9322 GB, free: 8.641 MB / 0.7012 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.0001445/0.619, allocations: 137.8 kB / 0.9323 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.6191, allocations: 27.8 kB / 0.9323 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.7e-05/0.6191, allocations: 29.83 kB / 0.9324 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6192, allocations: 4 kB / 0.9324 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6192, allocations: 4 kB / 0.9324 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.6192, allocations: 0 / 0.9324 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.6203, allocations: 0.6796 MB / 0.933 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.6203, allocations: 0 / 0.933 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.6205, allocations: 35.91 kB / 0.9331 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.6205, allocations: 4 kB / 0.9331 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.6205, allocations: 0 / 0.9331 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.6205, allocations: 4 kB / 0.9331 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6206, allocations: 8 kB / 0.9331 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.6211, allocations: 357.4 kB / 0.9334 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.6212, allocations: 112.9 kB / 0.9335 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.6213, allocations: 11.94 kB / 0.9335 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.6215, allocations: 11.98 kB / 0.9336 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.6215, allocations: 15.88 kB / 0.9336 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.6216, allocations: 7.984 kB / 0.9336 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001714/0.6217, allocations: 176.5 kB / 0.9337 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6217, allocations: 0 / 0.9337 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004826/0.6222, allocations: 67.92 kB / 0.9338 GB, free: 6.824 MB / 0.7012 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.001105/0.6233, allocations: 0.94 MB / 0.9347 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.6238, allocations: 175.8 kB / 0.9349 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6238, allocations: 4.125 kB / 0.9349 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.6241, allocations: 91.88 kB / 0.935 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008118/0.6249, allocations: 120.2 kB / 0.9351 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.6282, allocations: 2.469 MB / 0.9375 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.6286, allocations: 0.748 MB / 0.9382 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002056/0.6289, allocations: 61.91 kB / 0.9383 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.629, allocations: 75.34 kB / 0.9384 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of SimCode: time 3.81e-07/0.629, allocations: 0 / 0.9384 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.6587, allocations: 6.937 MB / 0.9451 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.693, allocations: 15.22 kB / 0.9452 GB, free: 11.21 MB / 0.7169 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)