Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.0015/0.0015, allocations: 101.4 kB / 15.7 MB, free: 24 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.001688/0.001688, allocations: 193.5 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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.741/1.741, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001737/0.001737, allocations: 71.11 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2154, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.0025/0.2179, allocations: 1.279 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.2189, allocations: 0.5877 MB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.2189, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.219, allocations: 3.984 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.219, allocations: 11.92 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.2195, allocations: 143.4 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.005e-05/0.2196, allocations: 23.86 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.2197, allocations: 7.938 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.829e-05/0.2197, allocations: 4 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.2198, allocations: 19.91 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.2198, allocations: 0 / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.2203, allocations: 343.3 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.2203, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.2204, allocations: 11.92 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.2206, allocations: 143.9 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2206, allocations: 4 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2206, allocations: 0 / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2207, allocations: 0 / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005734/0.2212, allocations: 363.3 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2213, allocations: 12.03 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.2213, allocations: 34.75 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.235e-05/0.2213, allocations: 0.9375 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2214, allocations: 164.4 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.2215, allocations: 4.375 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.2215, allocations: 4.375 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.2216, allocations: 50.25 kB / 0.7868 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2216, allocations: 7.875 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.2216, allocations: 4 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2216, allocations: 0 / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.2217, allocations: 12 kB / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.222, allocations: 249 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.2223, allocations: 50.48 kB / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.2223, allocations: 20.91 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.2223, allocations: 8 kB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.2224, allocations: 34.5 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.2224, allocations: 0 / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001722/0.2225, allocations: 53.59 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2226, allocations: 59.41 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.2227, allocations: 101.8 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.2227, allocations: 25.7 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.2227, allocations: 84.08 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.2228, allocations: 15.8 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.2228, allocations: 21.66 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2229, allocations: 318.8 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.2229, allocations: 4 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.223, allocations: 25.66 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.961e-05/0.223, allocations: 33.7 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.223, allocations: 3.938 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.316e-05/0.2231, allocations: 61.56 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2232, allocations: 4 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2232, allocations: 0 / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.2232, allocations: 0 / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/0.2232, allocations: 12 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2233, allocations: 4.031 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.2233, allocations: 4 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2233, allocations: 0 / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 6.61e-05/0.2234, allocations: 118.4 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2234, allocations: 3.906 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.2235, allocations: 65.12 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2236, allocations: 0 / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2236, allocations: 0 / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2236, allocations: 4 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2237, allocations: 165.5 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2237, allocations: 0 / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.2238, allocations: 8.453 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2238, allocations: 0 / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.2238, allocations: 0 / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.2238, allocations: 8.109 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2238, allocations: 4 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.2239, allocations: 159.4 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.224, allocations: 77.11 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.224, allocations: 0 / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.224, allocations: 0 / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.2241, allocations: 4 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-06/0.2241, allocations: 3.984 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.2241, allocations: 79.28 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2241, allocations: 0 / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002503/0.2244, allocations: 20 kB / 0.7886 GB, free: 7.789 MB / 0.6075 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 (4): * Single equations (assignments): 4 * 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.0004391/0.2248, allocations: 0.7045 MB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.841e-05/0.2249, allocations: 27.92 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2249, allocations: 0 / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.318e-05/0.225, allocations: 15.98 kB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.2252, allocations: 5.094 kB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.2256, allocations: 163.4 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.2259, allocations: 0.6768 MB / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.2259, allocations: 4 kB / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.2259, allocations: 7.438 kB / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2259, allocations: 3.938 kB / 0.7902 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.2437, allocations: 1.389 MB / 0.7915 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.053, allocations: 7.016 kB / 0.7915 GB, free: 4.836 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)