Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.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.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",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.001661/0.001661, allocations: 101.4 kB / 15.7 MB, free: 28 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.001912/0.001912, allocations: 191.3 kB / 16.64 MB, free: 6.445 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.486/1.486, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.806/1.806, 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.001416/0.001416, allocations: 70.91 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2263, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6585/0.8849, allocations: 167.4 MB / 0.9471 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.8879, allocations: 1.557 MB / 0.9486 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005924/0.8886, allocations: 11.88 kB / 0.9487 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.8892, allocations: 147.9 kB / 0.9488 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.8913, allocations: 0.7109 MB / 0.9495 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.8931, allocations: 0.6022 MB / 0.9501 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.8945, allocations: 0.7149 MB / 0.9508 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005879/0.8951, allocations: 239.1 kB / 0.951 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009943/0.8961, allocations: 349.6 kB / 0.9513 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005397/0.8966, allocations: 225.2 kB / 0.9516 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.831e-05/0.8968, allocations: 25.02 kB / 0.9516 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.8985, allocations: 0.8681 MB / 0.9524 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.8987, allocations: 114.3 kB / 0.9525 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.899, allocations: 174.6 kB / 0.9527 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.9005, allocations: 0.7319 MB / 0.9534 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9005, allocations: 1.219 kB / 0.9534 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9005, allocations: 0 / 0.9534 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.9006, allocations: 0 / 0.9534 GB, free: 0.9453 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001348/0.9019, allocations: 0.6634 MB / 0.9541 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.902, allocations: 12.75 kB / 0.9541 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.945e-05/0.902, allocations: 57.5 kB / 0.9541 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.9032, allocations: 160.5 kB / 0.9543 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.9038, allocations: 330.4 kB / 0.9546 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.9039, allocations: 17.12 kB / 0.9546 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.9039, allocations: 31.39 kB / 0.9546 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/0.9044, allocations: 278.4 kB / 0.9549 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.9044, allocations: 1.344 kB / 0.9549 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.9045, allocations: 12.34 kB / 0.9549 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.9045, allocations: 5.75 kB / 0.9549 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.9049, allocations: 204.2 kB / 0.9551 GB, free: 16.05 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.001434/0.9064, allocations: 1.22 MB / 0.9563 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.9067, allocations: 144.6 kB / 0.9565 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.9068, allocations: 103 kB / 0.9565 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005567/0.9074, allocations: 301 kB / 0.9568 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.9074, allocations: 34.02 kB / 0.9569 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.9075, allocations: 4 kB / 0.9569 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007835/0.9082, allocations: 294 kB / 0.9572 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.9083, allocations: 52.88 kB / 0.9572 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.9086, allocations: 323.5 kB / 0.9575 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.9087, allocations: 32.06 kB / 0.9575 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.9088, allocations: 185.2 kB / 0.9577 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.9089, allocations: 63.22 kB / 0.9578 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.9089, allocations: 46.3 kB / 0.9578 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9091, allocations: 345 kB / 0.9582 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.9093, allocations: 75.38 kB / 0.9582 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.9095, allocations: 128.8 kB / 0.9583 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.9098, allocations: 197.2 kB / 0.9585 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9098, allocations: 3.938 kB / 0.9585 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004776/0.9103, allocations: 258.8 kB / 0.9588 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.9104, allocations: 6.469 kB / 0.9588 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9104, allocations: 1.094 kB / 0.9588 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.9104, allocations: 2.156 kB / 0.9588 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.9106, allocations: 47.14 kB / 0.9588 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.9106, allocations: 3.266 kB / 0.9588 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.9108, allocations: 33.22 kB / 0.9589 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.9109, allocations: 17.5 kB / 0.9589 GB, free: 13.89 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001419/0.911, allocations: 154.2 kB / 0.959 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.9111, allocations: 30.62 kB / 0.9591 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.9116, allocations: 223.6 kB / 0.9593 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.9116, allocations: 2.5 kB / 0.9593 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.9116, allocations: 3.938 kB / 0.9593 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.9116, allocations: 1.219 kB / 0.9593 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.9126, allocations: 0.7097 MB / 0.96 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.9127, allocations: 1.219 kB / 0.96 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.9128, allocations: 38.97 kB / 0.96 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.9129, allocations: 3 kB / 0.96 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.9129, allocations: 7.812 kB / 0.96 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.9129, allocations: 9.453 kB / 0.96 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9129, allocations: 1.438 kB / 0.96 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.9136, allocations: 453.4 kB / 0.9605 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.9137, allocations: 121.5 kB / 0.9606 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.9138, allocations: 6.875 kB / 0.9606 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.914, allocations: 11.55 kB / 0.9606 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.914, allocations: 18.61 kB / 0.9606 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.9141, allocations: 9.547 kB / 0.9606 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000242/0.9143, allocations: 230.2 kB / 0.9609 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9143, allocations: 96 / 0.9609 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004212/0.9148, allocations: 93.36 kB / 0.9609 GB, free: 12.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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.001216/0.916, allocations: 1.035 MB / 0.962 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.9164, allocations: 195.1 kB / 0.9621 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9164, allocations: 2.422 kB / 0.9621 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.9166, allocations: 92.84 kB / 0.9622 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008882/0.9175, allocations: 171.6 kB / 0.9624 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.9215, allocations: 2.991 MB / 0.9653 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.9219, allocations: 0.779 MB / 0.9661 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002416/0.9221, allocations: 72.2 kB / 0.9661 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.9223, allocations: 92.22 kB / 0.9662 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.9223, allocations: 0 / 0.9662 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.9507, allocations: 8.943 MB / 0.975 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.698, allocations: 7.125 kB / 0.975 GB, free: 6.992 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)