Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001424/0.001424, allocations: 102.1 kB / 16.27 MB, free: 6.344 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.001684/0.001684, allocations: 191.5 kB / 17.2 MB, free: 5.949 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7434/0.7434, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 67.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3078, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002103/0.3099, allocations: 1.238 MB / 0.5685 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008244/0.3107, allocations: 0.579 MB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.3108, allocations: 0 / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.3108, allocations: 0 / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.3109, allocations: 10.34 kB / 0.5691 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.3114, allocations: 139.7 kB / 0.5692 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.178e-05/0.3114, allocations: 14.75 kB / 0.5692 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.3115, allocations: 2.672 kB / 0.5692 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.3115, allocations: 7.562 kB / 0.5692 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.3115, allocations: 7.172 kB / 0.5692 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.3116, allocations: 1.469 kB / 0.5692 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.3121, allocations: 341.9 kB / 0.5696 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.3121, allocations: 4.688 kB / 0.5696 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.3121, allocations: 7.375 kB / 0.5696 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.3124, allocations: 142.1 kB / 0.5697 GB, free: 31.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3124, allocations: 0 / 0.5697 GB, free: 31.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3124, allocations: 0 / 0.5697 GB, free: 31.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3124, allocations: 3.906 kB / 0.5697 GB, free: 31.26 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003124/0.3127, allocations: 348.3 kB / 0.57 GB, free: 30.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3128, allocations: 10.5 kB / 0.5701 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.834e-05/0.3128, allocations: 35.53 kB / 0.5701 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.3129, allocations: 9.875 kB / 0.5701 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.568e-05/0.3129, allocations: 162.2 kB / 0.5702 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.3129, allocations: 3.766 kB / 0.5703 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.313, allocations: 1.438 kB / 0.5703 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.047e-05/0.313, allocations: 35.22 kB / 0.5703 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3131, allocations: 7.922 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.3131, allocations: 1.453 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3131, allocations: 2.062 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.542e-05/0.3131, allocations: 3.75 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.3132, allocations: 150.8 kB / 0.5704 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.3133, allocations: 27.2 kB / 0.5705 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.3133, allocations: 7.891 kB / 0.5705 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.3133, allocations: 0 / 0.5705 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.3133, allocations: 38.36 kB / 0.5705 GB, free: 30.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3134, allocations: 1.188 kB / 0.5705 GB, free: 30.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001218/0.3135, allocations: 44.17 kB / 0.5706 GB, free: 30.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.3135, allocations: 53.38 kB / 0.5706 GB, free: 30.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.35e-05/0.3136, allocations: 98.39 kB / 0.5707 GB, free: 30.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.3136, allocations: 26.73 kB / 0.5707 GB, free: 30.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.323e-05/0.3136, allocations: 82.55 kB / 0.5708 GB, free: 30.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3136, allocations: 9.328 kB / 0.5708 GB, free: 30 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.3136, allocations: 19.94 kB / 0.5708 GB, free: 29.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.3137, allocations: 311.6 kB / 0.5711 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.3137, allocations: 2.984 kB / 0.5711 GB, free: 29.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.3137, allocations: 1.938 kB / 0.5711 GB, free: 29.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.3138, allocations: 15.14 kB / 0.5712 GB, free: 29.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3138, allocations: 1.031 kB / 0.5712 GB, free: 29.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.365e-05/0.3138, allocations: 40.14 kB / 0.5712 GB, free: 29.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3138, allocations: 9.562 kB / 0.5712 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.3138, allocations: 1.531 kB / 0.5712 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3139, allocations: 4.453 kB / 0.5712 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.314, allocations: 10.11 kB / 0.5712 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002298/0.3142, allocations: 0.5855 MB / 0.5718 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.3143, allocations: 5.125 kB / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.3143, allocations: 0.5625 kB / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.3143, allocations: 113.8 kB / 0.5719 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.3144, allocations: 6.062 kB / 0.5719 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-05/0.3144, allocations: 47.84 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3145, allocations: 2.031 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3145, allocations: 1.672 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3145, allocations: 0 / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.4e-05/0.3145, allocations: 151.4 kB / 0.5721 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3145, allocations: 0.7031 kB / 0.5721 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.766e-05/0.3146, allocations: 15.3 kB / 0.5721 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3146, allocations: 1.312 kB / 0.5721 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.3146, allocations: 0.8438 kB / 0.5721 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001665/0.3148, allocations: 0.581 MB / 0.5727 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3148, allocations: 11.88 kB / 0.5727 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.134e-05/0.3149, allocations: 64.47 kB / 0.5728 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.3149, allocations: 79.06 kB / 0.5728 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.3149, allocations: 1.219 kB / 0.5728 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.315, allocations: 0.6094 kB / 0.5728 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.315, allocations: 6.109 kB / 0.5728 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.315, allocations: 2.219 kB / 0.5728 GB, free: 27.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.694e-05/0.315, allocations: 78.02 kB / 0.5729 GB, free: 27.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.315, allocations: 1.812 kB / 0.5729 GB, free: 27.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.3152, allocations: 11.3 kB / 0.5729 GB, free: 27.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002358/0.3154, allocations: 0.611 MB / 0.5735 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.3156, allocations: 18.52 kB / 0.5735 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3156, allocations: 1.125 kB / 0.5735 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.3157, allocations: 18.02 kB / 0.5736 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.3159, allocations: 6.922 kB / 0.5736 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.3162, allocations: 150 kB / 0.5737 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.19e-05/0.3163, allocations: 0.6744 MB / 0.5744 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.434e-05/0.3164, allocations: 1.375 kB / 0.5744 GB, free: 26.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.3164, allocations: 9.234 kB / 0.5744 GB, free: 26.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3164, allocations: 5.25 kB / 0.5744 GB, free: 26.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.333, allocations: 1.323 MB / 0.5757 GB, free: 26.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.91, allocations: 9.375 kB / 0.5757 GB, free: 26.03 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)