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.001248/0.001249, allocations: 108 kB / 15.6 MB, free: 132 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.001206/0.001206, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 275 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8875/0.8875, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 92.89 kB / 0.5954 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1255, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002285/0.1278, allocations: 1.271 MB / 0.6815 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000889/0.1287, allocations: 0.5983 MB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.1288, allocations: 0.6562 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.1288, allocations: 7.938 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.1289, allocations: 8.641 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.1294, allocations: 134.1 kB / 0.6823 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.1294, allocations: 23.86 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.1295, allocations: 4 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.07e-05/0.1295, allocations: 11.94 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.1296, allocations: 11.98 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1296, allocations: 0 / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.1301, allocations: 347.3 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.1301, allocations: 3.938 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.1301, allocations: 7.984 kB / 0.6827 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.1304, allocations: 151.8 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1304, allocations: 0 / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1304, allocations: 0 / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1304, allocations: 4 kB / 0.6828 GB, free: 14.04 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.0003597/0.1308, allocations: 355.5 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1308, allocations: 12.03 kB / 0.6832 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.1308, allocations: 38.69 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.1309, allocations: 4.844 kB / 0.6832 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.383e-05/0.131, allocations: 164.4 kB / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.131, allocations: 384 / 0.6834 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.131, allocations: 384 / 0.6834 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.593e-05/0.1311, allocations: 42.25 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1311, allocations: 3.938 kB / 0.6834 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.1311, allocations: 4 kB / 0.6834 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1311, allocations: 4 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.703e-05/0.1312, allocations: 19.92 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.1315, allocations: 248.9 kB / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.1317, allocations: 50.62 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.1317, allocations: 20.84 kB / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1317, allocations: 11.92 kB / 0.6837 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.1318, allocations: 30.56 kB / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1318, allocations: 0 / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001616/0.1319, allocations: 61.62 kB / 0.6838 GB, free: 12.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.132, allocations: 51.41 kB / 0.6839 GB, free: 12.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/0.132, allocations: 97.86 kB / 0.684 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.1321, allocations: 25.7 kB / 0.684 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.1321, allocations: 84.05 kB / 0.6841 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.1321, allocations: 19.89 kB / 0.6841 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1322, allocations: 17.62 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.1322, allocations: 314.8 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.1323, allocations: 7.984 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.1323, allocations: 21.72 kB / 0.6844 GB, free: 12.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.677e-05/0.1324, allocations: 29.66 kB / 0.6845 GB, free: 12.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1324, allocations: 7.938 kB / 0.6845 GB, free: 12.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.621e-05/0.1325, allocations: 57.62 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1325, allocations: 5.875 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1325, allocations: 0 / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1325, allocations: 7.984 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.541e-05/0.1325, allocations: 4 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1326, allocations: 4 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.1326, allocations: 0 / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.1326, allocations: 0 / 0.6845 GB, free: 12.01 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 6.81e-05/0.1327, allocations: 127.1 kB / 0.6847 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.1327, allocations: 0 / 0.6847 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.1328, allocations: 69.05 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1328, allocations: 0 / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1329, allocations: 128 / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1329, allocations: 4 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.133, allocations: 169.5 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.133, allocations: 0 / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.1331, allocations: 4 kB / 0.6849 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1331, allocations: 7.938 kB / 0.6849 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1331, allocations: 4 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1331, allocations: 0 / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1331, allocations: 0 / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1332, allocations: 148 kB / 0.6851 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.1332, allocations: 85.03 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1333, allocations: 4.047 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.1333, allocations: 3.984 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.1333, allocations: 8 kB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1333, allocations: 0 / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.093e-05/0.1334, allocations: 79.28 kB / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1334, allocations: 0 / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1336, allocations: 19.98 kB / 0.6852 GB, free: 11.19 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.0003708/0.134, allocations: 0.7046 MB / 0.6859 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.1341, allocations: 27.92 kB / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1341, allocations: 0 / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.002e-05/0.1341, allocations: 12 kB / 0.686 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1344, allocations: 0.75 kB / 0.686 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.1348, allocations: 168.1 kB / 0.6861 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.135, allocations: 0.6807 MB / 0.6868 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.1351, allocations: 4 kB / 0.6868 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.1351, allocations: 7.438 kB / 0.6868 GB, free: 9.496 MB / 494.1 MB Notification: Performance of SimCode: time 1.713e-06/0.1351, allocations: 0 / 0.6868 GB, free: 9.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.238/0.3731, allocations: 1.395 MB / 0.6882 GB, free: 8.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.974, allocations: 7.625 kB / 0.6882 GB, free: 8.23 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)