Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.0007978/0.0007978, allocations: 84.38 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.0009038/0.0009039, 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.332/1.332, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9499/0.9499, allocations: 143.4 MB / 434.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 12 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.171, allocations: 83.42 MB / 0.5976 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007998/0.1719, allocations: 315 kB / 0.5979 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002262/0.1721, allocations: 31.91 kB / 0.5979 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.1722, allocations: 0 / 0.5979 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.1722, allocations: 8 kB / 0.5979 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.1722, allocations: 4 kB / 0.5979 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.1724, allocations: 0 / 0.5979 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.1725, allocations: 11.97 kB / 0.5979 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.1725, allocations: 0 / 0.5979 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.41e-05/0.1726, allocations: 8 kB / 0.5979 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.824e-05/0.1726, allocations: 3.938 kB / 0.5979 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1726, allocations: 0 / 0.5979 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.1727, allocations: 15.98 kB / 0.5979 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.1727, allocations: 4 kB / 0.5979 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.1728, allocations: 29.7 kB / 0.598 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.814e-05/0.1728, allocations: 11.98 kB / 0.598 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1728, allocations: 0 / 0.598 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.572e-06/0.1729, allocations: 0 / 0.598 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.1729, allocations: 0 / 0.598 GB, free: 7.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003072/0.1732, allocations: 349.1 kB / 0.5983 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1732, allocations: 8.031 kB / 0.5983 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.1733, allocations: 30.56 kB / 0.5983 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.1733, allocations: 7.906 kB / 0.5984 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1734, allocations: 175.2 kB / 0.5985 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.1734, allocations: 4 kB / 0.5985 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1734, allocations: 0 / 0.5985 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1736, allocations: 61.67 kB / 0.5986 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1736, allocations: 0 / 0.5986 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1736, allocations: 4 kB / 0.5986 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.1736, allocations: 4 kB / 0.5986 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.1737, allocations: 31.86 kB / 0.5986 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.174, allocations: 268.7 kB / 0.5989 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.07e-05/0.1741, allocations: 18.58 kB / 0.5989 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.1741, allocations: 8.859 kB / 0.5989 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.1741, allocations: 4.062 kB / 0.5989 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1741, allocations: 34.55 kB / 0.5989 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1741, allocations: 0 / 0.5989 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001567/0.1743, allocations: 67.3 kB / 0.599 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.1744, allocations: 85.23 kB / 0.5991 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.1745, allocations: 121.8 kB / 0.5992 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1745, allocations: 25.7 kB / 0.5992 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.1745, allocations: 99.8 kB / 0.5993 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.1746, allocations: 7.906 kB / 0.5993 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.1746, allocations: 0 / 0.5993 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1747, allocations: 318.8 kB / 0.5996 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.1747, allocations: 12 kB / 0.5996 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.1748, allocations: 66.92 kB / 0.5997 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.856e-05/0.1748, allocations: 53.62 kB / 0.5998 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1748, allocations: 0 / 0.5998 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002136/0.175, allocations: 111.2 kB / 0.5999 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.1751, allocations: 31.58 kB / 0.5999 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1751, allocations: 4 kB / 0.5999 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1751, allocations: 7.953 kB / 0.5999 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.1752, allocations: 15.92 kB / 0.5999 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1752, allocations: 4.25 kB / 0.5999 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.1753, allocations: 15.84 kB / 0.5999 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.1753, allocations: 8 kB / 0.6 GB, free: 4.941 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001024/0.1754, allocations: 143.5 kB / 0.6001 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.1755, allocations: 3.984 kB / 0.6001 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.457e-05/0.1755, allocations: 7.531 kB / 0.6001 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1755, allocations: 3.953 kB / 0.6001 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1755, allocations: 0 / 0.6001 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1755, allocations: 3.984 kB / 0.6001 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.1757, allocations: 157.7 kB / 0.6003 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1757, allocations: 0 / 0.6003 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-06/0.1757, allocations: 4 kB / 0.6003 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1757, allocations: 3.938 kB / 0.6003 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1757, allocations: 4 kB / 0.6003 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1757, allocations: 0 / 0.6003 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1757, allocations: 3.953 kB / 0.6003 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.1758, allocations: 161.2 kB / 0.6004 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.1759, allocations: 85.05 kB / 0.6005 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1759, allocations: 3.938 kB / 0.6005 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.176, allocations: 4 kB / 0.6005 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.176, allocations: 0 / 0.6005 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.176, allocations: 3.953 kB / 0.6005 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.1761, allocations: 95.2 kB / 0.6006 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1761, allocations: 0 / 0.6006 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002546/0.1763, allocations: 16 kB / 0.6006 GB, free: 4.141 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005354/0.1769, allocations: 0.7064 MB / 0.6013 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.177, allocations: 83.33 kB / 0.6014 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.177, allocations: 0 / 0.6014 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.1771, allocations: 59.88 kB / 0.6015 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1773, allocations: 6.469 kB / 0.6015 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.1777, allocations: 140.4 kB / 0.6016 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.178, allocations: 0.677 MB / 0.6023 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.585e-05/0.1781, allocations: 12.17 kB / 0.6023 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.1782, allocations: 7.438 kB / 0.6023 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1782, allocations: 4 kB / 0.6023 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.1902, allocations: 1.25 MB / 0.6035 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.1904, allocations: 210.7 kB / 0.6037 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.818, allocations: 0 / 0.6037 GB, free: 1.027 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) Environment - environmentSimulation: