Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001244/0.001245, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001555/0.001555, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.011/1.011, allocations: 143.3 MB / 434.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.000353, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 83.42 MB / 0.5974 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001228/0.1596, allocations: 0.9862 MB / 0.5983 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007965/0.1604, allocations: 0.5298 MB / 0.5988 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.1604, allocations: 0 / 0.5988 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.1604, allocations: 0 / 0.5988 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.1605, allocations: 8 kB / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.1609, allocations: 123.5 kB / 0.599 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.509e-05/0.161, allocations: 11.98 kB / 0.599 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.161, allocations: 0 / 0.599 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.1611, allocations: 11.94 kB / 0.599 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.1611, allocations: 7.984 kB / 0.599 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1611, allocations: 4 kB / 0.599 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.1616, allocations: 359.4 kB / 0.5993 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.1617, allocations: 7.984 kB / 0.5994 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.1617, allocations: 29.7 kB / 0.5994 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.1619, allocations: 96.11 kB / 0.5995 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1619, allocations: 0 / 0.5995 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1619, allocations: 0 / 0.5995 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1619, allocations: 0 / 0.5995 GB, free: 5.613 MB / 0.4981 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.0003713/0.1623, allocations: 355.3 kB / 0.5998 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1623, allocations: 8.031 kB / 0.5998 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1623, allocations: 34.56 kB / 0.5999 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.1624, allocations: 11.86 kB / 0.5999 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1625, allocations: 159.1 kB / 0.6 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1625, allocations: 7.938 kB / 0.6 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.1625, allocations: 0 / 0.6 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1626, allocations: 49.62 kB / 0.6001 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1627, allocations: 0 / 0.6001 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1627, allocations: 0 / 0.6001 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1627, allocations: 0 / 0.6001 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.765e-05/0.1627, allocations: 19.94 kB / 0.6001 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.163, allocations: 249 kB / 0.6003 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1632, allocations: 50.56 kB / 0.6004 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1633, allocations: 0 / 0.6004 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1633, allocations: 38.5 kB / 0.6004 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.1633, allocations: 0 / 0.6004 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001529/0.1635, allocations: 57.73 kB / 0.6005 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.1635, allocations: 55.41 kB / 0.6005 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.1636, allocations: 101.8 kB / 0.6006 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1636, allocations: 25.7 kB / 0.6006 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.1636, allocations: 92.05 kB / 0.6007 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.1636, allocations: 11.75 kB / 0.6007 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.1637, allocations: 0 / 0.6007 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.1637, allocations: 318.8 kB / 0.601 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.1638, allocations: 4 kB / 0.601 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.1638, allocations: 25.72 kB / 0.6011 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.288e-05/0.1638, allocations: 8.375 kB / 0.6011 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1638, allocations: 0 / 0.6011 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.38e-05/0.1639, allocations: 61.61 kB / 0.6011 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1639, allocations: 4 kB / 0.6011 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1639, allocations: 0 / 0.6011 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.164, allocations: 3.984 kB / 0.6011 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.747e-05/0.164, allocations: 8 kB / 0.6012 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.164, allocations: 7.984 kB / 0.6012 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.1641, allocations: 4 kB / 0.6012 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.1641, allocations: 0 / 0.6012 GB, free: 3.648 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.1642, allocations: 113.8 kB / 0.6013 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.1642, allocations: 0 / 0.6013 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.1643, allocations: 69.02 kB / 0.6013 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1643, allocations: 0 / 0.6013 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1643, allocations: 0 / 0.6013 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1643, allocations: 7.953 kB / 0.6013 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1645, allocations: 161.7 kB / 0.6015 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1645, allocations: 8 kB / 0.6015 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.1645, allocations: 4 kB / 0.6015 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1645, allocations: 0 / 0.6015 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1645, allocations: 3.938 kB / 0.6015 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1646, allocations: 0 / 0.6015 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1646, allocations: 4 kB / 0.6015 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.1647, allocations: 151.4 kB / 0.6017 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.1647, allocations: 89.03 kB / 0.6017 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1647, allocations: 4 kB / 0.6018 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.1648, allocations: 0 / 0.6018 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.1648, allocations: 0 / 0.6018 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1648, allocations: 4 kB / 0.6018 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.993e-05/0.1649, allocations: 75.28 kB / 0.6018 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1649, allocations: 0 / 0.6018 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002311/0.1651, allocations: 23.98 kB / 0.6019 GB, free: 2.844 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000382/0.1655, allocations: 0.7046 MB / 0.6025 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.1656, allocations: 23.92 kB / 0.6026 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1656, allocations: 0 / 0.6026 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.656e-05/0.1656, allocations: 8 kB / 0.6026 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1657, allocations: 16.03 kB / 0.6026 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.1661, allocations: 171 kB / 0.6027 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.1664, allocations: 0.6809 MB / 0.6034 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.1664, allocations: 8 kB / 0.6034 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.1664, allocations: 11.44 kB / 0.6034 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1664, allocations: 4 kB / 0.6034 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.1813, allocations: 1.195 MB / 0.6046 GB, free: 116 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3232/0.5045, allocations: 210.2 kB / 0.6048 GB, free: 42.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.135, allocations: 0 / 0.6048 GB, free: 42.22 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) Environment - environmentSimulation: