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.0008953/0.0008953, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008452/0.0008452, allocations: 172.7 kB / 15.95 MB, free: 208 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.312/1.312, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9565/0.9565, allocations: 143.4 MB / 434.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002959, allocations: 12 kB / 0.5161 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1525, allocations: 83.42 MB / 0.5975 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001165/0.1537, allocations: 1.002 MB / 0.5985 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000807/0.1545, allocations: 0.5417 MB / 0.599 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.422e-05/0.1545, allocations: 0 / 0.599 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.1545, allocations: 3.938 kB / 0.5991 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.1546, allocations: 7.984 kB / 0.5991 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.155, allocations: 119.6 kB / 0.5992 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.4e-05/0.155, allocations: 27.8 kB / 0.5992 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.1551, allocations: 4 kB / 0.5992 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.1551, allocations: 4 kB / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.1551, allocations: 15.92 kB / 0.5992 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.1552, allocations: 0 / 0.5992 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.1556, allocations: 327.4 kB / 0.5995 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-06/0.1556, allocations: 7.938 kB / 0.5995 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.1557, allocations: 25.7 kB / 0.5996 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1558, allocations: 104.1 kB / 0.5997 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1558, allocations: 4 kB / 0.5997 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1558, allocations: 0 / 0.5997 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.1558, allocations: 0 / 0.5997 GB, free: 5.543 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.0003433/0.1562, allocations: 355.2 kB / 0.6 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.1562, allocations: 12.03 kB / 0.6 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.1562, allocations: 30.56 kB / 0.6001 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/0.1563, allocations: 7.859 kB / 0.6001 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.1564, allocations: 167 kB / 0.6002 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.1564, allocations: 8 kB / 0.6002 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.1564, allocations: 4 kB / 0.6002 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.079e-05/0.1565, allocations: 45.62 kB / 0.6003 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.413e-06/0.1565, allocations: 0 / 0.6003 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1565, allocations: 4 kB / 0.6003 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1565, allocations: 0 / 0.6003 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.757e-05/0.1566, allocations: 8 kB / 0.6003 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.1569, allocations: 260.9 kB / 0.6005 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.157, allocations: 46.62 kB / 0.6006 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.1571, allocations: 20.8 kB / 0.6006 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1571, allocations: 0 / 0.6006 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.1571, allocations: 34.56 kB / 0.6006 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1571, allocations: 0 / 0.6006 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001429/0.1573, allocations: 57.64 kB / 0.6007 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1573, allocations: 55.41 kB / 0.6007 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.721e-05/0.1574, allocations: 97.84 kB / 0.6008 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.1574, allocations: 25.7 kB / 0.6009 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.1575, allocations: 92.05 kB / 0.6009 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.1575, allocations: 15.73 kB / 0.601 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.1575, allocations: 0 / 0.601 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.1576, allocations: 322.8 kB / 0.6013 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.1576, allocations: 7.938 kB / 0.6013 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.1577, allocations: 21.72 kB / 0.6013 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.484e-05/0.1577, allocations: 8 kB / 0.6013 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1577, allocations: 3.984 kB / 0.6013 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.111e-05/0.1578, allocations: 57.58 kB / 0.6014 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1578, allocations: 11.92 kB / 0.6014 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1578, allocations: 0 / 0.6014 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1578, allocations: 4 kB / 0.6014 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.204e-05/0.1579, allocations: 4 kB / 0.6014 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1579, allocations: 7.953 kB / 0.6014 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.1579, allocations: 4.031 kB / 0.6014 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1579, allocations: 0 / 0.6014 GB, free: 3.547 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 6.517e-05/0.158, allocations: 113.8 kB / 0.6015 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.158, allocations: 432 / 0.6015 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.1582, allocations: 73 kB / 0.6016 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1582, allocations: 0 / 0.6016 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1582, allocations: 0 / 0.6016 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1582, allocations: 3.953 kB / 0.6016 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.1583, allocations: 161.7 kB / 0.6017 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1583, allocations: 0 / 0.6017 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.1584, allocations: 4 kB / 0.6017 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1584, allocations: 0 / 0.6017 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1584, allocations: 0 / 0.6017 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1584, allocations: 4 kB / 0.6017 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1584, allocations: 3.984 kB / 0.6017 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.1585, allocations: 147.5 kB / 0.6019 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.1586, allocations: 85.17 kB / 0.602 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.1586, allocations: 8 kB / 0.602 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.718e-05/0.1586, allocations: 0 / 0.602 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.1587, allocations: 7.938 kB / 0.602 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1587, allocations: 0 / 0.602 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.1587, allocations: 83.27 kB / 0.6021 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1587, allocations: 0 / 0.6021 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002295/0.1589, allocations: 16 kB / 0.6021 GB, free: 2.75 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.0004295/0.1594, allocations: 0.7084 MB / 0.6028 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.509e-05/0.1595, allocations: 23.92 kB / 0.6028 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1595, allocations: 4 kB / 0.6028 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-05/0.1595, allocations: 8 kB / 0.6028 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.1597, allocations: 6.672 kB / 0.6028 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.1601, allocations: 170.5 kB / 0.603 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1603, allocations: 0.6809 MB / 0.6036 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.1604, allocations: 8 kB / 0.6036 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.1604, allocations: 11.44 kB / 0.6036 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1604, allocations: 0 / 0.6036 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01003/0.1705, allocations: 1.212 MB / 0.6048 GB, free: 12 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2776/0.4481, allocations: 218 kB / 0.605 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.084, allocations: 0 / 0.605 GB, free: 42.15 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: