Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.966/1.966, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 183.3 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 103.7 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004092, allocations: 15.59 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2511, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001356/0.2525, allocations: 0.9668 MB / 0.9804 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005038/0.253, allocations: 291.2 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.253, allocations: 0 / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.2531, allocations: 0 / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.2531, allocations: 7.984 kB / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.2534, allocations: 59.84 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.895e-05/0.2535, allocations: 3.984 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.2535, allocations: 11.94 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.742e-05/0.2536, allocations: 0 / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.2536, allocations: 4 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.2536, allocations: 3.938 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.2538, allocations: 175.8 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.632e-06/0.2539, allocations: 0 / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.2539, allocations: 29.64 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.254, allocations: 60.16 kB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.254, allocations: 0 / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.254, allocations: 0 / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.254, allocations: 0 / 0.981 GB, free: 25.98 MB / 0.6198 GB 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.0003041/0.2543, allocations: 332.6 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2544, allocations: 12.02 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.746e-05/0.2544, allocations: 30.56 kB / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.2544, allocations: 3.906 kB / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.925e-05/0.2545, allocations: 167 kB / 0.9816 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2546, allocations: 11.98 kB / 0.9816 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.2546, allocations: 0 / 0.9816 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.556e-05/0.2547, allocations: 37.58 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2547, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.2547, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2547, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.2547, allocations: 7.938 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.2549, allocations: 157.7 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.766e-05/0.2549, allocations: 26.56 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.255, allocations: 0 / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.255, allocations: 34.56 kB / 0.9818 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.255, allocations: 0 / 0.9818 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001357/0.2551, allocations: 45.69 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.2552, allocations: 51.41 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.468e-05/0.2552, allocations: 98.08 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.2552, allocations: 29.73 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.756e-05/0.2552, allocations: 80.14 kB / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.2553, allocations: 3.906 kB / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.2553, allocations: 0 / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.2553, allocations: 318.8 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.2554, allocations: 4 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.2554, allocations: 0 / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.557e-05/0.2554, allocations: 4 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2554, allocations: 4.062 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.037e-05/0.2555, allocations: 45.59 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2555, allocations: 4 kB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2555, allocations: 0 / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2555, allocations: 7.984 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.2557, allocations: 8 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002537/0.2559, allocations: 0.5782 MB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.256, allocations: 4.125 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.256, allocations: 0 / 0.9831 GB, free: 23.66 MB / 0.6198 GB 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.256, allocations: 117.8 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-06/0.256, allocations: 0 / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.961e-05/0.2561, allocations: 52.66 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2561, allocations: 3.984 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2562, allocations: 0 / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2562, allocations: 0 / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.519e-05/0.2562, allocations: 161.6 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2562, allocations: 0 / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.2563, allocations: 12.98 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2563, allocations: 0 / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.2563, allocations: 0 / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001728/0.2565, allocations: 0.5782 MB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2565, allocations: 15.83 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.985e-05/0.2566, allocations: 69.25 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.2566, allocations: 77.11 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.2566, allocations: 0 / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.2566, allocations: 0 / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.2567, allocations: 4 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2567, allocations: 3.953 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.05e-05/0.2567, allocations: 87.3 kB / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2567, allocations: 0 / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001937/0.2569, allocations: 15.94 kB / 0.9842 GB, free: 22.35 MB / 0.6198 GB 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002862/0.2572, allocations: 0.6007 MB / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.2574, allocations: 28.11 kB / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2574, allocations: 0 / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.2574, allocations: 11.98 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.971e-05/0.2576, allocations: 10.58 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.2579, allocations: 144.8 kB / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.258, allocations: 0.6771 MB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.2581, allocations: 7.984 kB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.2581, allocations: 11.44 kB / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2581, allocations: 0 / 0.9857 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.2705, allocations: 1.152 MB / 0.9868 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.2707, allocations: 252.9 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.756, allocations: 2.656 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)