Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0008768/0.0008769, allocations: 98.27 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.005349/0.005349, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9715/0.9715, allocations: 143.2 MB / 434.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 12 kB / 0.5165 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1404, allocations: 83.42 MB / 0.598 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4044/0.5448, allocations: 163 MB / 0.7572 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.5473, allocations: 1.554 MB / 0.7587 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.5475, allocations: 13.53 kB / 0.7587 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.5479, allocations: 115.2 kB / 0.7588 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.5493, allocations: 0.677 MB / 0.7595 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.5506, allocations: 0.5499 MB / 0.76 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008783/0.5514, allocations: 0.9828 MB / 0.761 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.5518, allocations: 201.4 kB / 0.7612 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005017/0.5523, allocations: 314.7 kB / 0.7615 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.5526, allocations: 231 kB / 0.7617 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.5526, allocations: 12 kB / 0.7617 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.5539, allocations: 1.013 MB / 0.7627 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.5541, allocations: 99.69 kB / 0.7628 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.5543, allocations: 184.9 kB / 0.763 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000938/0.5552, allocations: 0.7866 MB / 0.7637 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5552, allocations: 0 / 0.7637 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5552, allocations: 0 / 0.7637 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.5552, allocations: 0 / 0.7637 GB, free: 2.273 MB / 0.5762 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.0008915/0.5561, allocations: 0.6117 MB / 0.7643 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5562, allocations: 12.88 kB / 0.7643 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.5563, allocations: 58.55 kB / 0.7644 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.5573, allocations: 151.4 kB / 0.7645 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.5577, allocations: 318.6 kB / 0.7648 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.5578, allocations: 16.56 kB / 0.7649 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.5578, allocations: 27.94 kB / 0.7649 GB, free: 1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.5583, allocations: 289.8 kB / 0.7652 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5583, allocations: 0 / 0.7652 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.5583, allocations: 12 kB / 0.7652 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5583, allocations: 5.031 kB / 0.7652 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.5588, allocations: 216.9 kB / 0.7654 GB, free: 484 kB / 0.5762 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.001274/0.56, allocations: 1.227 MB / 0.7666 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.5603, allocations: 163 kB / 0.7667 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.5605, allocations: 100.8 kB / 0.7668 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.5611, allocations: 311.2 kB / 0.7671 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.5612, allocations: 42.88 kB / 0.7672 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.5612, allocations: 0 / 0.7672 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007864/0.562, allocations: 306.3 kB / 0.7675 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.562, allocations: 59.34 kB / 0.7675 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.5623, allocations: 324.5 kB / 0.7678 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.5624, allocations: 33.64 kB / 0.7679 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.5625, allocations: 180.1 kB / 0.768 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.5626, allocations: 67.08 kB / 0.7681 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.5626, allocations: 21.72 kB / 0.7681 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5627, allocations: 346.8 kB / 0.7684 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.5629, allocations: 71.95 kB / 0.7685 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.5631, allocations: 127.3 kB / 0.7686 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.5635, allocations: 210.1 kB / 0.7688 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5635, allocations: 3.938 kB / 0.7688 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004674/0.564, allocations: 262.5 kB / 0.7691 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.564, allocations: 4.625 kB / 0.7691 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.564, allocations: 8.031 kB / 0.7691 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.564, allocations: 4 kB / 0.7691 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.5642, allocations: 43.97 kB / 0.7691 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.5643, allocations: 4 kB / 0.7691 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.5645, allocations: 38.48 kB / 0.7692 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.5645, allocations: 8 kB / 0.7692 GB, free: 12.3 MB / 0.5919 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.0001351/0.5647, allocations: 165.6 kB / 0.7694 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.5647, allocations: 31.62 kB / 0.7694 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.5652, allocations: 238.6 kB / 0.7696 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5652, allocations: 11.98 kB / 0.7696 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5652, allocations: 0 / 0.7696 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5652, allocations: 0 / 0.7696 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.5663, allocations: 0.7185 MB / 0.7703 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5663, allocations: 4 kB / 0.7703 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.5664, allocations: 35.97 kB / 0.7704 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5665, allocations: 8.156 kB / 0.7704 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.5665, allocations: 8 kB / 0.7704 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5665, allocations: 7.938 kB / 0.7704 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5665, allocations: 11.38 kB / 0.7704 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/0.5672, allocations: 460.9 kB / 0.7708 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.5673, allocations: 124.7 kB / 0.771 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.5673, allocations: 8 kB / 0.771 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.5675, allocations: 19.92 kB / 0.771 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.5676, allocations: 16.08 kB / 0.771 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.5676, allocations: 12 kB / 0.771 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002044/0.5678, allocations: 231 kB / 0.7712 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5678, allocations: 0 / 0.7712 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000357/0.5682, allocations: 83.94 kB / 0.7713 GB, free: 9.988 MB / 0.5919 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.001114/0.5693, allocations: 1.065 MB / 0.7723 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.5697, allocations: 193.5 kB / 0.7725 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5697, allocations: 0 / 0.7725 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.5699, allocations: 100.5 kB / 0.7726 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009212/0.5709, allocations: 165.4 kB / 0.7728 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.5744, allocations: 3.176 MB / 0.7759 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.5747, allocations: 0.7797 MB / 0.7766 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.5749, allocations: 66.84 kB / 0.7767 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.5751, allocations: 95.41 kB / 0.7768 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.5751, allocations: 0 / 0.7768 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.5935, allocations: 8.434 MB / 0.785 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.5937, allocations: 241.7 kB / 0.7853 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.449, allocations: 4 kB / 0.7853 GB, free: 11.73 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)