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.0008893/0.0008893, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.006043/0.006043, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.448/1.448, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.704/1.704, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005354/0.0005354, allocations: 17.47 kB / 0.6744 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2745, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6585/0.933, allocations: 157 MB / 0.9413 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.9345, allocations: 0.9455 MB / 0.9423 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.9347, allocations: 8.156 kB / 0.9423 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.9352, allocations: 128.6 kB / 0.9424 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.9364, allocations: 0.5894 MB / 0.943 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.9369, allocations: 212.9 kB / 0.9432 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.9375, allocations: 0.7174 MB / 0.9439 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.9378, allocations: 147.3 kB / 0.944 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.9381, allocations: 210.4 kB / 0.9442 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.9383, allocations: 164.4 kB / 0.9444 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.9384, allocations: 13.53 kB / 0.9444 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009666/0.9394, allocations: 0.6342 MB / 0.945 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.9395, allocations: 76.89 kB / 0.9451 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.9396, allocations: 133.7 kB / 0.9452 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006441/0.9403, allocations: 0.5065 MB / 0.9457 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9403, allocations: 1.094 kB / 0.9457 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9403, allocations: 0 / 0.9457 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.9403, allocations: 0 / 0.9457 GB, free: 16.52 MB / 0.7325 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.001309/0.9416, allocations: 0.5631 MB / 0.9462 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.9417, allocations: 9.312 kB / 0.9462 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.292e-05/0.9417, allocations: 56.08 kB / 0.9463 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.942, allocations: 47.62 kB / 0.9463 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.9425, allocations: 282.6 kB / 0.9466 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.9425, allocations: 11.11 kB / 0.9466 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.9425, allocations: 15.22 kB / 0.9466 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.943, allocations: 252.2 kB / 0.9469 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.943, allocations: 0 / 0.9469 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.9431, allocations: 4.812 kB / 0.9469 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.9431, allocations: 11.97 kB / 0.9469 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.9437, allocations: 259 kB / 0.9471 GB, free: 15.75 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.001258/0.945, allocations: 0.8515 MB / 0.948 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.9453, allocations: 147.6 kB / 0.9481 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.9456, allocations: 119.4 kB / 0.9482 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.9458, allocations: 186.8 kB / 0.9484 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.9459, allocations: 35.28 kB / 0.9484 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.9459, allocations: 0 / 0.9484 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0008662/0.9468, allocations: 318.7 kB / 0.9487 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.9468, allocations: 56.66 kB / 0.9488 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.9471, allocations: 242.7 kB / 0.949 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.9471, allocations: 28.88 kB / 0.9491 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.9472, allocations: 135.8 kB / 0.9492 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.9473, allocations: 48.03 kB / 0.9492 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.9473, allocations: 19.88 kB / 0.9493 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9475, allocations: 334.4 kB / 0.9496 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.9477, allocations: 75.64 kB / 0.9496 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.9479, allocations: 104.6 kB / 0.9497 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.9484, allocations: 182.4 kB / 0.9499 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9484, allocations: 0 / 0.9499 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005437/0.9489, allocations: 234.1 kB / 0.9501 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.949, allocations: 9 kB / 0.9502 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.949, allocations: 1.094 kB / 0.9502 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.949, allocations: 1.094 kB / 0.9502 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.9492, allocations: 36.42 kB / 0.9502 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.9492, allocations: 5.016 kB / 0.9502 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.9494, allocations: 32.8 kB / 0.9502 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.9495, allocations: 10.81 kB / 0.9502 GB, free: 14.19 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.0001389/0.9496, allocations: 139.8 kB / 0.9504 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.9497, allocations: 28.03 kB / 0.9504 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.693e-05/0.9498, allocations: 31.34 kB / 0.9504 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.9498, allocations: 5.812 kB / 0.9504 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.9498, allocations: 0.5 kB / 0.9504 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.9498, allocations: 0.5625 kB / 0.9504 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.951, allocations: 0.6869 MB / 0.9511 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.951, allocations: 1.656 kB / 0.9511 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.9512, allocations: 39.95 kB / 0.9511 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.9512, allocations: 2.5 kB / 0.9511 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.9512, allocations: 3.656 kB / 0.9511 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.9512, allocations: 4.719 kB / 0.9512 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.9512, allocations: 8.281 kB / 0.9512 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.9517, allocations: 364 kB / 0.9515 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.9519, allocations: 115.5 kB / 0.9516 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.9519, allocations: 4.609 kB / 0.9516 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.9521, allocations: 20.02 kB / 0.9516 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.9521, allocations: 17.77 kB / 0.9517 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.9522, allocations: 9.5 kB / 0.9517 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001643/0.9523, allocations: 176.8 kB / 0.9518 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9523, allocations: 0 / 0.9518 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003826/0.9527, allocations: 60.06 kB / 0.9519 GB, free: 13.25 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.001044/0.9538, allocations: 0.9451 MB / 0.9528 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004758/0.9543, allocations: 188.5 kB / 0.953 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9543, allocations: 0 / 0.953 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.9545, allocations: 103.1 kB / 0.9531 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008185/0.9553, allocations: 122.2 kB / 0.9532 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.9587, allocations: 2.55 MB / 0.9557 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.9592, allocations: 0.7582 MB / 0.9564 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000296/0.9595, allocations: 64 kB / 0.9565 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.9597, allocations: 64.41 kB / 0.9566 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.9597, allocations: 1.219 kB / 0.9566 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8136/1.773, allocations: 6.413 MB / 0.9628 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.774, allocations: 248.6 kB / 0.9631 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/4.283, allocations: 3.938 kB / 0.9631 GB, free: 8.676 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)