Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.0007264/0.0007266, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0007782/0.0007782, allocations: 168.7 kB / 15.95 MB, free: 204 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.3/1.3, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9522/0.9522, allocations: 143.4 MB / 434.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 8.219 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1579, allocations: 83.42 MB / 0.5975 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001446/0.1594, allocations: 0.9667 MB / 0.5985 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008326/0.1603, allocations: 0.5454 MB / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.1603, allocations: 0 / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.959e-06/0.1604, allocations: 0 / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.1604, allocations: 0 / 0.599 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1608, allocations: 123.6 kB / 0.5991 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.499e-05/0.1609, allocations: 15.92 kB / 0.5992 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.513e-05/0.1609, allocations: 0 / 0.5992 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.34e-05/0.1609, allocations: 4 kB / 0.5992 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.96e-05/0.1609, allocations: 3.938 kB / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.1609, allocations: 0 / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.1614, allocations: 327.4 kB / 0.5995 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.1614, allocations: 4 kB / 0.5995 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.1615, allocations: 33.64 kB / 0.5995 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1616, allocations: 100 kB / 0.5996 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1616, allocations: 0 / 0.5996 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1617, allocations: 0 / 0.5996 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.1617, allocations: 0 / 0.5996 GB, free: 5.562 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003344/0.162, allocations: 351.3 kB / 0.5999 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.162, allocations: 8.031 kB / 0.5999 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.1621, allocations: 38.56 kB / 0.6 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.873e-05/0.1621, allocations: 3.953 kB / 0.6 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1622, allocations: 163 kB / 0.6001 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1622, allocations: 4 kB / 0.6001 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-06/0.1622, allocations: 0 / 0.6001 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.726e-05/0.1623, allocations: 33.69 kB / 0.6002 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1623, allocations: 4 kB / 0.6002 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.1624, allocations: 3.984 kB / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1624, allocations: 0 / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/0.1624, allocations: 7.938 kB / 0.6002 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.1625, allocations: 153.6 kB / 0.6003 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.559e-05/0.1626, allocations: 30.59 kB / 0.6004 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.1626, allocations: 8.922 kB / 0.6004 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1626, allocations: 0 / 0.6004 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1627, allocations: 30.56 kB / 0.6004 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1627, allocations: 0 / 0.6004 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.1628, allocations: 49.62 kB / 0.6005 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.1629, allocations: 55.53 kB / 0.6005 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.431e-05/0.1629, allocations: 93.8 kB / 0.6006 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1629, allocations: 29.7 kB / 0.6006 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.163, allocations: 80.14 kB / 0.6007 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.163, allocations: 11.84 kB / 0.6007 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.163, allocations: 0 / 0.6007 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1631, allocations: 314.8 kB / 0.601 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.1632, allocations: 4 kB / 0.601 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.1632, allocations: 8.109 kB / 0.601 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.766e-05/0.1632, allocations: 8 kB / 0.601 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1632, allocations: 0 / 0.601 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.25e-05/0.1633, allocations: 37.64 kB / 0.6011 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1633, allocations: 5.875 kB / 0.6011 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.1633, allocations: 0 / 0.6011 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1633, allocations: 4 kB / 0.6011 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1634, allocations: 7.984 kB / 0.6011 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003265/0.1638, allocations: 0.59 MB / 0.6017 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.1638, allocations: 0 / 0.6017 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1638, allocations: 0 / 0.6017 GB, free: 3.207 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.556e-05/0.1639, allocations: 109.8 kB / 0.6018 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-06/0.1639, allocations: 4.031 kB / 0.6018 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.212e-05/0.164, allocations: 48.75 kB / 0.6018 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.164, allocations: 4.125 kB / 0.6018 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.164, allocations: 3.953 kB / 0.6018 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.164, allocations: 0 / 0.6018 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.565e-05/0.1641, allocations: 153.6 kB / 0.602 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1641, allocations: 0 / 0.602 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.1642, allocations: 11.98 kB / 0.602 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1642, allocations: 0 / 0.602 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.1642, allocations: 0 / 0.602 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002782/0.1645, allocations: 0.5937 MB / 0.6026 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1645, allocations: 0 / 0.6026 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.984e-05/0.1646, allocations: 65.16 kB / 0.6026 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.1646, allocations: 77.11 kB / 0.6027 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.1646, allocations: 3.953 kB / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.272e-05/0.1647, allocations: 0 / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.1647, allocations: 0 / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1647, allocations: 12.06 kB / 0.6027 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.844e-05/0.1647, allocations: 75.28 kB / 0.6028 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1647, allocations: 0 / 0.6028 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001851/0.1649, allocations: 15.92 kB / 0.6028 GB, free: 1.918 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004013/0.1653, allocations: 0.6164 MB / 0.6034 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.1655, allocations: 19.98 kB / 0.6034 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1655, allocations: 0 / 0.6034 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.1656, allocations: 11.98 kB / 0.6034 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.1657, allocations: 11.89 kB / 0.6034 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.1661, allocations: 140.9 kB / 0.6036 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.1663, allocations: 0.6731 MB / 0.6042 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.1663, allocations: 0 / 0.6042 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.1664, allocations: 7.438 kB / 0.6042 GB, free: 348 kB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1664, allocations: 0 / 0.6042 GB, free: 348 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2699/0.4363, allocations: 1.173 MB / 0.6054 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/0.4364, allocations: 254.3 kB / 0.6056 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.059, allocations: 3 kB / 0.6056 GB, free: 39.9 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: