Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_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.001007/0.001007, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007952/0.007952, allocations: 169 kB / 16.26 MB, free: 6.66 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001651/0.001651, allocations: 281.8 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.904/0.904, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004042, allocations: 12.83 kB / 0.5988 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.138, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001115/0.1392, allocations: 1.004 MB / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00085/0.14, allocations: 0.6027 MB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.264e-05/0.1401, allocations: 3.438 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.331e-05/0.1401, allocations: 0 / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.632e-05/0.1401, allocations: 7.922 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.1405, allocations: 119.6 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.982e-05/0.1405, allocations: 15.92 kB / 0.6869 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.1406, allocations: 4 kB / 0.6869 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.905e-05/0.1406, allocations: 11.94 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.1407, allocations: 12.42 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.1407, allocations: 0.5312 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.1411, allocations: 343.3 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.208e-06/0.1411, allocations: 4.5 kB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.1412, allocations: 34.33 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1414, allocations: 159.8 kB / 0.6875 GB, free: 12.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1414, allocations: 1.906 kB / 0.6875 GB, free: 12.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1414, allocations: 0 / 0.6875 GB, free: 12.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1414, allocations: 0 / 0.6875 GB, free: 12.63 MB / 494.1 MB 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.0003215/0.1417, allocations: 344.7 kB / 0.6878 GB, free: 12.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1418, allocations: 12.03 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.1418, allocations: 42.67 kB / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.708e-05/0.1418, allocations: 0.9375 kB / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.398e-05/0.1419, allocations: 164.9 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1419, allocations: 4.938 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.1419, allocations: 2.344 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.529e-05/0.142, allocations: 50.19 kB / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.142, allocations: 3.938 kB / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.1421, allocations: 0 / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1421, allocations: 0 / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.22e-05/0.1421, allocations: 20.52 kB / 0.6881 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.1424, allocations: 255.4 kB / 0.6884 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1426, allocations: 42.56 kB / 0.6884 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.1426, allocations: 17.61 kB / 0.6884 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1426, allocations: 4 kB / 0.6884 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.1426, allocations: 40.84 kB / 0.6885 GB, free: 11.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.1426, allocations: 0 / 0.6885 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001354/0.1428, allocations: 49.69 kB / 0.6885 GB, free: 11.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.1428, allocations: 59.39 kB / 0.6886 GB, free: 11.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.306e-05/0.1429, allocations: 100.8 kB / 0.6887 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1429, allocations: 25.7 kB / 0.6887 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.1429, allocations: 84.05 kB / 0.6888 GB, free: 11.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/0.143, allocations: 7.906 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.143, allocations: 17.7 kB / 0.6888 GB, free: 11.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.1431, allocations: 314.8 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.1431, allocations: 4.781 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.1431, allocations: 31.36 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.1432, allocations: 26.08 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1432, allocations: 3.938 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.524e-05/0.1433, allocations: 66.41 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.1433, allocations: 4.625 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1433, allocations: 0 / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.1433, allocations: 8.469 kB / 0.6892 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.02e-05/0.1434, allocations: 4 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1434, allocations: 5.031 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.1434, allocations: 3.984 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.1434, allocations: 1.031 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB 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 5.808e-05/0.1435, allocations: 127.1 kB / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.1435, allocations: 0 / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.1436, allocations: 65.06 kB / 0.6894 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1436, allocations: 0 / 0.6894 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1436, allocations: 0 / 0.6894 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1436, allocations: 0 / 0.6894 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.1438, allocations: 161.6 kB / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1438, allocations: 0 / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.1438, allocations: 7.984 kB / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1438, allocations: 0 / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1439, allocations: 8 kB / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1439, allocations: 0 / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1439, allocations: 0 / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.144, allocations: 155.3 kB / 0.6897 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.144, allocations: 77.11 kB / 0.6898 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.144, allocations: 128 / 0.6898 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.1441, allocations: 8 kB / 0.6898 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.1441, allocations: 7.984 kB / 0.6898 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1441, allocations: 4 kB / 0.6898 GB, free: 9.906 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.1441, allocations: 79.28 kB / 0.6899 GB, free: 9.828 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1441, allocations: 0 / 0.6899 GB, free: 9.828 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000225/0.1444, allocations: 16 kB / 0.6899 GB, free: 9.812 MB / 494.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 (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.00037/0.1447, allocations: 0.7123 MB / 0.6906 GB, free: 9.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.961e-05/0.1448, allocations: 24.33 kB / 0.6906 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1448, allocations: 0 / 0.6906 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.1449, allocations: 15.92 kB / 0.6907 GB, free: 9.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.1451, allocations: 5.969 kB / 0.6907 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.1454, allocations: 173 kB / 0.6908 GB, free: 8.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.1456, allocations: 0.6809 MB / 0.6915 GB, free: 8.113 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.857e-05/0.1457, allocations: 4.062 kB / 0.6915 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.1457, allocations: 19.42 kB / 0.6915 GB, free: 8.09 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1457, allocations: 0 / 0.6915 GB, free: 8.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009574/0.1553, allocations: 1.195 MB / 0.6927 GB, free: 7.074 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.1555, allocations: 242.8 kB / 0.6929 GB, free: 6.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/1.617, allocations: 0 / 0.6929 GB, free: 6.82 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)