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.0008315/0.0008314, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.000884/0.000884, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.888/1.888, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0005298/0.0005298, allocations: 18.36 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2744, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7503/1.025, allocations: 146.5 MB / 0.9305 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001736/1.027, allocations: 0.9008 MB / 0.9313 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/1.027, allocations: 8.281 kB / 0.9313 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004748/1.027, allocations: 107.6 kB / 0.9314 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/1.029, allocations: 458.5 kB / 0.9319 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/1.029, allocations: 193 kB / 0.9321 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007196/1.03, allocations: 0.6065 MB / 0.9327 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/1.03, allocations: 133.4 kB / 0.9328 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/1.031, allocations: 215.1 kB / 0.933 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/1.031, allocations: 156.9 kB / 0.9331 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/1.031, allocations: 7.875 kB / 0.9331 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007484/1.032, allocations: 288.7 kB / 0.9334 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/1.032, allocations: 75.45 kB / 0.9335 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003444/1.032, allocations: 68.42 kB / 0.9336 GB, free: 21.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004356/1.033, allocations: 296.5 kB / 0.9338 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.033, allocations: 7.938 kB / 0.9339 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.364e-06/1.033, allocations: 0 / 0.9339 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.759e-06/1.033, allocations: 0 / 0.9339 GB, free: 21.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.00138/1.034, allocations: 0.5551 MB / 0.9344 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.034, allocations: 7.875 kB / 0.9344 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.452e-05/1.034, allocations: 52.53 kB / 0.9345 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/1.034, allocations: 50.89 kB / 0.9345 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/1.035, allocations: 280.2 kB / 0.9348 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/1.035, allocations: 11.52 kB / 0.9348 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/1.035, allocations: 19 kB / 0.9348 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/1.035, allocations: 241.3 kB / 0.935 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.035, allocations: 0 / 0.935 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/1.035, allocations: 7.375 kB / 0.935 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/1.035, allocations: 9.703 kB / 0.935 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/1.036, allocations: 263.6 kB / 0.9353 GB, free: 20.78 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.001278/1.037, allocations: 0.8436 MB / 0.9361 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/1.038, allocations: 152.3 kB / 0.9363 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/1.038, allocations: 122.7 kB / 0.9364 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/1.038, allocations: 190.9 kB / 0.9366 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/1.038, allocations: 32 kB / 0.9366 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/1.038, allocations: 0 / 0.9366 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0007844/1.039, allocations: 317.4 kB / 0.9369 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/1.039, allocations: 53.19 kB / 0.9369 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/1.039, allocations: 243.6 kB / 0.9372 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/1.039, allocations: 29.2 kB / 0.9372 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/1.039, allocations: 139.3 kB / 0.9373 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/1.039, allocations: 46.34 kB / 0.9374 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/1.039, allocations: 7 kB / 0.9374 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.04, allocations: 333.4 kB / 0.9377 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/1.04, allocations: 69.14 kB / 0.9378 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/1.04, allocations: 111.4 kB / 0.9379 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/1.04, allocations: 84.7 kB / 0.938 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.04, allocations: 0 / 0.938 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000412/1.04, allocations: 221.8 kB / 0.9382 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.041, allocations: 6.469 kB / 0.9382 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.041, allocations: 1.812 kB / 0.9382 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.041, allocations: 1.469 kB / 0.9382 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/1.041, allocations: 34.44 kB / 0.9382 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.041, allocations: 7.578 kB / 0.9382 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/1.041, allocations: 39.16 kB / 0.9383 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/1.041, allocations: 7.453 kB / 0.9383 GB, free: 19.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/1.041, allocations: 142 kB / 0.9384 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/1.041, allocations: 17.84 kB / 0.9384 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.027e-05/1.041, allocations: 33.59 kB / 0.9384 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/1.041, allocations: 0 / 0.9384 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/1.041, allocations: 0 / 0.9384 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.041, allocations: 7.891 kB / 0.9385 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/1.042, allocations: 0.6901 MB / 0.9391 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.042, allocations: 1.5 kB / 0.9391 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/1.043, allocations: 37.41 kB / 0.9392 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/1.043, allocations: 7.266 kB / 0.9392 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/1.043, allocations: 2.844 kB / 0.9392 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/1.043, allocations: 7.219 kB / 0.9392 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.043, allocations: 4.141 kB / 0.9392 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/1.043, allocations: 360.5 kB / 0.9395 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/1.043, allocations: 116.7 kB / 0.9396 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/1.043, allocations: 8.766 kB / 0.9397 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/1.044, allocations: 18.42 kB / 0.9397 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/1.044, allocations: 14.28 kB / 0.9397 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/1.044, allocations: 6.625 kB / 0.9397 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002602/1.044, allocations: 178.7 kB / 0.9399 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.044, allocations: 0 / 0.9399 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004661/1.044, allocations: 60.38 kB / 0.9399 GB, free: 18.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/1.046, allocations: 0.9552 MB / 0.9409 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005835/1.046, allocations: 181.5 kB / 0.941 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.046, allocations: 0 / 0.941 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/1.047, allocations: 99.75 kB / 0.9411 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/1.047, allocations: 121.9 kB / 0.9412 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/1.05, allocations: 1.359 MB / 0.9426 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/1.05, allocations: 0.7639 MB / 0.9433 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002645/1.051, allocations: 63.22 kB / 0.9434 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/1.051, allocations: 63.94 kB / 0.9434 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/1.051, allocations: 1.125 kB / 0.9434 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/1.071, allocations: 6.386 MB / 0.9497 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/1.071, allocations: 231.8 kB / 0.9499 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/3.081, allocations: 0 / 0.9499 GB, free: 15.63 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/linux/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) Environment - environmentSimulation: