Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_Buildings_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.001244/0.001244, allocations: 105.4 kB / 15.7 MB, free: 24 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.001555/0.001555, allocations: 190 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 74.42 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2583, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5948/0.8532, allocations: 161.3 MB / 0.9412 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.8555, allocations: 0.9557 MB / 0.9421 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004071/0.856, allocations: 9.375 kB / 0.9421 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.8568, allocations: 155.6 kB / 0.9423 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.8588, allocations: 0.6281 MB / 0.9429 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.8595, allocations: 219.8 kB / 0.9431 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007417/0.8602, allocations: 0.5068 MB / 0.9436 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.8606, allocations: 174.7 kB / 0.9438 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.8611, allocations: 228.3 kB / 0.944 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.8613, allocations: 165.4 kB / 0.9441 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.8614, allocations: 13.88 kB / 0.9441 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009121/0.8623, allocations: 0.5395 MB / 0.9447 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.8624, allocations: 83.44 kB / 0.9447 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.8625, allocations: 113.8 kB / 0.9449 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006783/0.8632, allocations: 0.4904 MB / 0.9453 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.8632, allocations: 0 / 0.9453 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8632, allocations: 0 / 0.9453 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.8632, allocations: 2.609 kB / 0.9453 GB, free: 1.703 MB / 0.7169 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.001389/0.8646, allocations: 0.5929 MB / 0.9459 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.8647, allocations: 8.719 kB / 0.9459 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.473e-05/0.8647, allocations: 53.23 kB / 0.946 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000252/0.865, allocations: 50.81 kB / 0.946 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.8654, allocations: 296.1 kB / 0.9463 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.8654, allocations: 14.67 kB / 0.9463 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.8655, allocations: 18.05 kB / 0.9463 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.866, allocations: 237.6 kB / 0.9466 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.866, allocations: 4 kB / 0.9466 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.866, allocations: 5.25 kB / 0.9466 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.8661, allocations: 12.05 kB / 0.9466 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.8667, allocations: 252.3 kB / 0.9468 GB, free: 16.94 MB / 0.7325 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.001238/0.8679, allocations: 0.8362 MB / 0.9476 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.8683, allocations: 144.4 kB / 0.9478 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.8685, allocations: 113 kB / 0.9479 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.8688, allocations: 184.5 kB / 0.9481 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.8688, allocations: 37.22 kB / 0.9481 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.8688, allocations: 1.656 kB / 0.9481 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0009407/0.8698, allocations: 302.6 kB / 0.9484 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.8698, allocations: 61.44 kB / 0.9484 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.8701, allocations: 244.1 kB / 0.9487 GB, free: 16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.8701, allocations: 26.73 kB / 0.9487 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.769e-05/0.8702, allocations: 139.2 kB / 0.9488 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.8703, allocations: 48.72 kB / 0.9489 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.8704, allocations: 34.06 kB / 0.9489 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8705, allocations: 329.3 kB / 0.9492 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.8707, allocations: 73.08 kB / 0.9493 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.8709, allocations: 101.2 kB / 0.9494 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.8713, allocations: 173.9 kB / 0.9496 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.8713, allocations: 1.062 kB / 0.9496 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000466/0.8718, allocations: 211.1 kB / 0.9498 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.8718, allocations: 9.812 kB / 0.9498 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.8719, allocations: 0 / 0.9498 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.8719, allocations: 2.344 kB / 0.9498 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.8721, allocations: 29.05 kB / 0.9498 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.8721, allocations: 1.562 kB / 0.9498 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.8723, allocations: 30.7 kB / 0.9498 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.8723, allocations: 9.672 kB / 0.9498 GB, free: 15.39 MB / 0.7325 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.0001327/0.8724, allocations: 142.7 kB / 0.95 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.8725, allocations: 24.78 kB / 0.95 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.867e-05/0.8726, allocations: 27.42 kB / 0.95 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.8726, allocations: 2.562 kB / 0.95 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.8726, allocations: 0 / 0.95 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.8726, allocations: 2.531 kB / 0.95 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.8737, allocations: 0.6852 MB / 0.9507 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.8737, allocations: 1.188 kB / 0.9507 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.8739, allocations: 35.16 kB / 0.9507 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.8739, allocations: 6.312 kB / 0.9507 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.8739, allocations: 2.969 kB / 0.9507 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.8739, allocations: 4 kB / 0.9508 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8739, allocations: 3 kB / 0.9508 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.8744, allocations: 360.3 kB / 0.9511 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.8745, allocations: 109.8 kB / 0.9512 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.8746, allocations: 10.2 kB / 0.9512 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.8748, allocations: 9.922 kB / 0.9512 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.8748, allocations: 23.89 kB / 0.9512 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.8748, allocations: 6.312 kB / 0.9513 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001502/0.875, allocations: 178 kB / 0.9514 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.875, allocations: 0 / 0.9514 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003624/0.8754, allocations: 58.58 kB / 0.9515 GB, free: 14.46 MB / 0.7325 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.0009494/0.8763, allocations: 0.9338 MB / 0.9524 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.8768, allocations: 185.6 kB / 0.9526 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8768, allocations: 0 / 0.9526 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.877, allocations: 98.23 kB / 0.9527 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/0.8778, allocations: 125.7 kB / 0.9528 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.8809, allocations: 2.471 MB / 0.9552 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.8812, allocations: 0.7537 MB / 0.9559 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.8815, allocations: 65.31 kB / 0.956 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.8816, allocations: 64.27 kB / 0.9561 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.8816, allocations: 0 / 0.9561 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.9071, allocations: 6.874 MB / 0.9628 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/8.489, allocations: 8.062 kB / 0.9628 GB, free: 10.77 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)