Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009448/0.0009447, allocations: 172.9 kB / 325.8 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205 MB / 0.576 GB, free: 20.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007073/0.0007075, allocations: 88.41 kB / 0.6797 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002999, allocations: 8.688 kB / 0.7933 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1482, allocations: 105.4 MB / 0.8962 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001144/0.1493, allocations: 1.021 MB / 0.8972 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007202/0.1501, allocations: 0.6082 MB / 0.8978 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.636e-05/0.1501, allocations: 0 / 0.8978 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.1501, allocations: 3.938 kB / 0.8978 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.301e-05/0.1502, allocations: 7.984 kB / 0.8978 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.1506, allocations: 123.6 kB / 0.8979 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.302e-05/0.1507, allocations: 19.86 kB / 0.8979 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.1507, allocations: 0 / 0.8979 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.1507, allocations: 15.94 kB / 0.898 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.484e-05/0.1508, allocations: 11.98 kB / 0.898 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1508, allocations: 0 / 0.898 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.1512, allocations: 339.4 kB / 0.8983 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.1512, allocations: 3.938 kB / 0.8983 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.1513, allocations: 11.94 kB / 0.8983 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1515, allocations: 151.6 kB / 0.8985 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1515, allocations: 0 / 0.8985 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1515, allocations: 3.984 kB / 0.8985 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.1515, allocations: 0 / 0.8985 GB, free: 65.25 MB / 0.6042 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.0002738/0.1518, allocations: 347.5 kB / 0.8988 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1518, allocations: 8.031 kB / 0.8988 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.43e-05/0.1518, allocations: 42.69 kB / 0.8988 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.1519, allocations: 0.9375 kB / 0.8988 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.467e-05/0.1519, allocations: 168.3 kB / 0.899 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1519, allocations: 8.312 kB / 0.899 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.152, allocations: 384 / 0.899 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.197e-05/0.152, allocations: 38.27 kB / 0.899 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1521, allocations: 7.922 kB / 0.8991 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1521, allocations: 0 / 0.8991 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1521, allocations: 4 kB / 0.8991 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.875e-05/0.1521, allocations: 15.98 kB / 0.8991 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.1523, allocations: 256.8 kB / 0.8993 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1525, allocations: 46.56 kB / 0.8994 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.1526, allocations: 20.84 kB / 0.8994 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1526, allocations: 8 kB / 0.8994 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.1526, allocations: 34.56 kB / 0.8994 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1526, allocations: 0 / 0.8994 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001401/0.1528, allocations: 53.62 kB / 0.8995 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.1528, allocations: 55.41 kB / 0.8995 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.909e-05/0.1528, allocations: 97.84 kB / 0.8996 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.1528, allocations: 33.64 kB / 0.8997 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.184e-05/0.1529, allocations: 80.14 kB / 0.8997 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.1529, allocations: 15.81 kB / 0.8997 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.1529, allocations: 13.72 kB / 0.8998 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.35e-05/0.1529, allocations: 314.8 kB / 0.9001 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.153, allocations: 8 kB / 0.9001 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.153, allocations: 17.72 kB / 0.9001 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.863e-05/0.153, allocations: 33.64 kB / 0.9001 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.153, allocations: 3.938 kB / 0.9001 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.166e-05/0.1531, allocations: 61.69 kB / 0.9002 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1531, allocations: 4 kB / 0.9002 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1531, allocations: 0 / 0.9002 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1532, allocations: 4 kB / 0.9002 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.159e-05/0.1532, allocations: 7.938 kB / 0.9002 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1532, allocations: 4 kB / 0.9002 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.1533, allocations: 11.97 kB / 0.9002 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.1533, allocations: 0 / 0.9002 GB, free: 63.21 MB / 0.6042 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 4.063e-05/0.1533, allocations: 117.8 kB / 0.9003 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.1533, allocations: 4 kB / 0.9003 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.1534, allocations: 61.17 kB / 0.9004 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1535, allocations: 3.938 kB / 0.9004 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1535, allocations: 0 / 0.9004 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1535, allocations: 4.406 kB / 0.9004 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.1536, allocations: 165.6 kB / 0.9005 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1536, allocations: 0 / 0.9005 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.1536, allocations: 4 kB / 0.9006 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1536, allocations: 0 / 0.9006 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1536, allocations: 8 kB / 0.9006 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.1536, allocations: 7.969 kB / 0.9006 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1537, allocations: 0 / 0.9006 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.551e-05/0.1537, allocations: 155.4 kB / 0.9007 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.1538, allocations: 77.11 kB / 0.9008 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.1538, allocations: 0 / 0.9008 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.1538, allocations: 4 kB / 0.9008 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.1538, allocations: 4 kB / 0.9008 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.1538, allocations: 4 kB / 0.9008 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.691e-05/0.1539, allocations: 83.27 kB / 0.9009 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.1539, allocations: 3.938 kB / 0.9009 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002176/0.1541, allocations: 16 kB / 0.9009 GB, free: 62.4 MB / 0.6042 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.0002544/0.1544, allocations: 0.7046 MB / 0.9016 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.778e-05/0.1544, allocations: 31.86 kB / 0.9016 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1544, allocations: 0 / 0.9016 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.1545, allocations: 8 kB / 0.9016 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.1547, allocations: 5.125 kB / 0.9016 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.155, allocations: 166 kB / 0.9018 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.95e-05/0.1551, allocations: 0.6771 MB / 0.9024 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.1551, allocations: 11.91 kB / 0.9025 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.1552, allocations: 15.44 kB / 0.9025 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1552, allocations: 0 / 0.9025 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/0.2871, allocations: 1.21 MB / 0.9037 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.2874, allocations: 237.4 kB / 0.9039 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/1.873, allocations: 4.062 kB / 0.9039 GB, free: 59.4 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)