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.001109/0.001109, allocations: 108 kB / 15.61 MB, free: 152 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.001281/0.001281, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.9755/0.9755, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1877, allocations: 82.03 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5202/0.708, allocations: 167.5 MB / 0.7579 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.7111, allocations: 1.562 MB / 0.7594 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.7115, allocations: 7.938 kB / 0.7594 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.712, allocations: 146.9 kB / 0.7596 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.7138, allocations: 0.7039 MB / 0.7603 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.7153, allocations: 0.5983 MB / 0.7609 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007878/0.7161, allocations: 0.7176 MB / 0.7616 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.7165, allocations: 241.1 kB / 0.7618 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.7171, allocations: 350.6 kB / 0.7621 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.7174, allocations: 219.1 kB / 0.7623 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.7175, allocations: 28 kB / 0.7624 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.7189, allocations: 0.865 MB / 0.7632 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.719, allocations: 111.7 kB / 0.7633 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.7192, allocations: 176.6 kB / 0.7635 GB, free: 76 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.7202, allocations: 0.7402 MB / 0.7642 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7202, allocations: 0 / 0.7642 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7203, allocations: 0 / 0.7642 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.7203, allocations: 4 kB / 0.7642 GB, free: 15.33 MB / 0.5919 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.0008781/0.7212, allocations: 0.6665 MB / 0.7648 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7212, allocations: 12.03 kB / 0.7649 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.7213, allocations: 58.55 kB / 0.7649 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.7224, allocations: 147.5 kB / 0.7651 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.7228, allocations: 318.6 kB / 0.7654 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.7228, allocations: 16.56 kB / 0.7654 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.7229, allocations: 27.94 kB / 0.7654 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.7234, allocations: 277.9 kB / 0.7657 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7234, allocations: 7.938 kB / 0.7657 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.7234, allocations: 4 kB / 0.7657 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.7234, allocations: 8 kB / 0.7657 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.7238, allocations: 203 kB / 0.7659 GB, free: 13.5 MB / 0.5919 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.001341/0.7252, allocations: 1.235 MB / 0.7671 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.7255, allocations: 150.4 kB / 0.7672 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.7257, allocations: 101.4 kB / 0.7673 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.7263, allocations: 299.2 kB / 0.7676 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.7264, allocations: 43 kB / 0.7677 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.7264, allocations: 0 / 0.7677 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007562/0.7271, allocations: 287.5 kB / 0.7679 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.7272, allocations: 55.31 kB / 0.768 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.7275, allocations: 328.5 kB / 0.7683 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.7275, allocations: 29.7 kB / 0.7683 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.7276, allocations: 188.2 kB / 0.7685 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.7277, allocations: 67.08 kB / 0.7686 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.7278, allocations: 41.7 kB / 0.7686 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7279, allocations: 338.8 kB / 0.7689 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.7281, allocations: 67.95 kB / 0.769 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.7283, allocations: 131.1 kB / 0.7691 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.7287, allocations: 190.6 kB / 0.7693 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7287, allocations: 7.938 kB / 0.7693 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004727/0.7292, allocations: 249 kB / 0.7695 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7292, allocations: 7.984 kB / 0.7696 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7292, allocations: 4 kB / 0.7696 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.7292, allocations: 3.938 kB / 0.7696 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.7294, allocations: 48.42 kB / 0.7696 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.7295, allocations: 4 kB / 0.7696 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.7297, allocations: 35.77 kB / 0.7696 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.7297, allocations: 11.25 kB / 0.7697 GB, free: 9.371 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.0001324/0.7298, allocations: 157.7 kB / 0.7698 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.7299, allocations: 31.62 kB / 0.7698 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/0.7304, allocations: 230 kB / 0.7701 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.7304, allocations: 4 kB / 0.7701 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.7304, allocations: 4 kB / 0.7701 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7304, allocations: 144 / 0.7701 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.7314, allocations: 0.7029 MB / 0.7707 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.7314, allocations: 0 / 0.7707 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.7316, allocations: 43.95 kB / 0.7708 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.7316, allocations: 0 / 0.7708 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.7317, allocations: 4 kB / 0.7708 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.7317, allocations: 7.938 kB / 0.7708 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7317, allocations: 3.938 kB / 0.7708 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.7323, allocations: 457.1 kB / 0.7712 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.7325, allocations: 124.6 kB / 0.7714 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.7325, allocations: 4 kB / 0.7714 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.7327, allocations: 19.92 kB / 0.7714 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.7328, allocations: 11.98 kB / 0.7714 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.7328, allocations: 8.625 kB / 0.7714 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002088/0.733, allocations: 227.1 kB / 0.7716 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.733, allocations: 4 kB / 0.7716 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004019/0.7334, allocations: 91.84 kB / 0.7717 GB, free: 7.117 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.001169/0.7346, allocations: 1.049 MB / 0.7727 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004415/0.735, allocations: 182 kB / 0.7729 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7351, allocations: 0 / 0.7729 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.7353, allocations: 96.45 kB / 0.773 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000895/0.7362, allocations: 167.8 kB / 0.7732 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.7397, allocations: 3.022 MB / 0.7761 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.7401, allocations: 0.7834 MB / 0.7769 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.7403, allocations: 68.11 kB / 0.7769 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.7405, allocations: 91.41 kB / 0.777 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.7405, allocations: 0 / 0.777 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.7696, allocations: 8.969 MB / 0.7858 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/8.371, allocations: 4.531 kB / 0.7858 GB, free: 8.723 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)