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.001171/0.001171, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00124/0.00124, allocations: 187.7 kB / 16.25 MB, free: 6.637 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.241/1.241, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001926/0.001926, allocations: 282.9 kB / 290.3 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8835/0.8835, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 105.2 kB / 0.5948 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1317, allocations: 86.98 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002085/0.1338, allocations: 1.335 MB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007994/0.1347, allocations: 0.5958 MB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.1347, allocations: 0 / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.1347, allocations: 4 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.79e-05/0.1348, allocations: 7.938 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1352, allocations: 127.6 kB / 0.6818 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.003e-05/0.1352, allocations: 11.94 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.1353, allocations: 7.984 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.024e-05/0.1353, allocations: 19.91 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.61e-05/0.1353, allocations: 4 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.1354, allocations: 0 / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.1358, allocations: 347.3 kB / 0.6821 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.1358, allocations: 11.91 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.1358, allocations: 8 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.136, allocations: 147.9 kB / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.136, allocations: 0 / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.136, allocations: 0 / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.136, allocations: 0 / 0.6823 GB, free: 14.33 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.0003325/0.1364, allocations: 359.4 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1364, allocations: 12.03 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.1364, allocations: 30.75 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.052e-05/0.1365, allocations: 8.844 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.862e-05/0.1366, allocations: 164.4 kB / 0.6828 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.1366, allocations: 384 / 0.6828 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1366, allocations: 8.312 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/0.1367, allocations: 42.25 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1367, allocations: 3.938 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.1367, allocations: 0 / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.1367, allocations: 0 / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.1368, allocations: 19.98 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.137, allocations: 252.9 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1372, allocations: 54.5 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.1372, allocations: 16.84 kB / 0.6832 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1373, allocations: 7.984 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.1373, allocations: 30.56 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1373, allocations: 4 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001357/0.1374, allocations: 57.69 kB / 0.6833 GB, free: 13.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.1375, allocations: 51.41 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.73e-05/0.1375, allocations: 93.86 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1375, allocations: 33.62 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.1376, allocations: 88.05 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/0.1376, allocations: 11.84 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.1376, allocations: 21.62 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.1377, allocations: 318.8 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.1377, allocations: 8 kB / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/0.1378, allocations: 13.72 kB / 0.6839 GB, free: 12.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/0.1378, allocations: 33.7 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1378, allocations: 3.938 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.143e-05/0.1379, allocations: 62.05 kB / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1379, allocations: 8.031 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.1379, allocations: 0 / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.138, allocations: 4 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.176e-05/0.138, allocations: 4 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.138, allocations: 7.938 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.138, allocations: 0 / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1381, allocations: 128 / 0.684 GB, free: 12.29 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.79e-05/0.1381, allocations: 119 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.1381, allocations: 11.98 kB / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.1383, allocations: 69.11 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1383, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1383, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.1383, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1384, allocations: 165.5 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1384, allocations: 0 / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.1385, allocations: 4 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1385, allocations: 0 / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1385, allocations: 0 / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1385, allocations: 7.984 kB / 0.6844 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1385, allocations: 4 kB / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.1386, allocations: 151.4 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.1386, allocations: 77.11 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.1387, allocations: 0 / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.1387, allocations: 0 / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.1387, allocations: 7.938 kB / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1387, allocations: 0 / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.065e-05/0.1388, allocations: 91.27 kB / 0.6847 GB, free: 11.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1388, allocations: 0 / 0.6847 GB, free: 11.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.139, allocations: 16 kB / 0.6847 GB, free: 11.47 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.0003635/0.1394, allocations: 0.7006 MB / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.492e-05/0.1395, allocations: 27.98 kB / 0.6854 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1395, allocations: 4.062 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.941e-05/0.1395, allocations: 11.94 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.1397, allocations: 1.125 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.1401, allocations: 164.3 kB / 0.6856 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.1403, allocations: 0.6807 MB / 0.6863 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.1403, allocations: 7.938 kB / 0.6863 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.1404, allocations: 15.44 kB / 0.6863 GB, free: 9.773 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1404, allocations: 0 / 0.6863 GB, free: 9.773 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009806/0.1502, allocations: 1.303 MB / 0.6876 GB, free: 8.648 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.1504, allocations: 235 kB / 0.6878 GB, free: 8.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/1.704, allocations: 0 / 0.6878 GB, free: 8.398 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)