Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.005816/0.005816, allocations: 101.1 kB / 15.88 MB, free: 6.312 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.00141/0.00141, allocations: 194.5 kB / 16.79 MB, free: 6.242 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.307/1.307, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6795/0.6795, allocations: 115.3 MB / 406 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 66.95 kB / 493 MB, free: 6.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1311, allocations: 76.18 MB / 0.5559 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001689/0.1329, allocations: 0.645 MB / 0.5565 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1341, allocations: 1.099 MB / 0.5576 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.019e-05/0.1341, allocations: 4 kB / 0.5576 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.1342, allocations: 0 / 0.5576 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1344, allocations: 15.91 kB / 0.5576 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.646e-06/0.1344, allocations: 11.94 kB / 0.5576 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.653e-05/0.1344, allocations: 0 / 0.5576 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.1344, allocations: 0 / 0.5576 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.256e-05/0.1345, allocations: 7.938 kB / 0.5576 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.73e-05/0.1345, allocations: 0 / 0.5576 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.164e-06/0.1345, allocations: 0 / 0.5576 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.736e-05/0.1346, allocations: 23.91 kB / 0.5576 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-06/0.1346, allocations: 0 / 0.5576 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.348e-05/0.1346, allocations: 7.938 kB / 0.5576 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.653e-05/0.1347, allocations: 19.98 kB / 0.5577 GB, free: 8.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1347, allocations: 0 / 0.5577 GB, free: 8.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1347, allocations: 0 / 0.5577 GB, free: 8.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1347, allocations: 0 / 0.5577 GB, free: 8.816 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002186/0.1349, allocations: 311.6 kB / 0.5579 GB, free: 8.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.135, allocations: 8.031 kB / 0.558 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.135, allocations: 38.75 kB / 0.558 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.135, allocations: 0.9375 kB / 0.558 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/0.1351, allocations: 164.4 kB / 0.5581 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1352, allocations: 8.312 kB / 0.5582 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1352, allocations: 384 / 0.5582 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.105e-05/0.1353, allocations: 37.83 kB / 0.5582 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1353, allocations: 4 kB / 0.5582 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.1353, allocations: 0 / 0.5582 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1353, allocations: 0 / 0.5582 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.483e-05/0.1353, allocations: 7.984 kB / 0.5582 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.1355, allocations: 161.5 kB / 0.5584 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1356, allocations: 38.55 kB / 0.5584 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.1357, allocations: 8.859 kB / 0.5584 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.1358, allocations: 85.19 kB / 0.5585 GB, free: 7.781 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1358, allocations: 34.5 kB / 0.5585 GB, free: 7.738 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1358, allocations: 0 / 0.5585 GB, free: 7.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.004076/0.1399, allocations: 0.5683 MB / 0.5591 GB, free: 7.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.14, allocations: 55.41 kB / 0.5591 GB, free: 7.098 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.271e-05/0.14, allocations: 93.86 kB / 0.5592 GB, free: 6.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.14, allocations: 25.7 kB / 0.5592 GB, free: 6.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.1401, allocations: 80.14 kB / 0.5593 GB, free: 6.883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.1401, allocations: 19.8 kB / 0.5593 GB, free: 6.863 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.1401, allocations: 17.72 kB / 0.5594 GB, free: 6.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.1402, allocations: 310.8 kB / 0.5596 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.1408, allocations: 83.95 kB / 0.5597 GB, free: 6.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.1413, allocations: 110.5 kB / 0.5598 GB, free: 6.328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.1424, allocations: 190.4 kB / 0.56 GB, free: 6.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1424, allocations: 0 / 0.56 GB, free: 6.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00116/0.1436, allocations: 213.5 kB / 0.5602 GB, free: 5.918 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1436, allocations: 8 kB / 0.5602 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1436, allocations: 3.938 kB / 0.5602 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1437, allocations: 3.984 kB / 0.5602 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.144, allocations: 52 kB / 0.5603 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.144, allocations: 0 / 0.5603 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.1444, allocations: 43.92 kB / 0.5603 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1444, allocations: 0 / 0.5603 GB, free: 5.809 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 7.537e-05/0.1445, allocations: 113.8 kB / 0.5604 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.1445, allocations: 7.844 kB / 0.5604 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.1458, allocations: 241.3 kB / 0.5607 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1458, allocations: 0 / 0.5607 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1458, allocations: 4 kB / 0.5607 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1458, allocations: 0 / 0.5607 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.1472, allocations: 454.4 kB / 0.5611 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1472, allocations: 0 / 0.5611 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.1475, allocations: 51.97 kB / 0.5612 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.1475, allocations: 0 / 0.5612 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1476, allocations: 3.938 kB / 0.5612 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1476, allocations: 8 kB / 0.5612 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1476, allocations: 0 / 0.5612 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.1487, allocations: 303.3 kB / 0.5615 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.1488, allocations: 81.11 kB / 0.5615 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1488, allocations: 0 / 0.5615 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.1491, allocations: 39.97 kB / 0.5616 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.1492, allocations: 8 kB / 0.5616 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1492, allocations: 0 / 0.5616 GB, free: 4.418 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.474e-05/0.1492, allocations: 83.31 kB / 0.5617 GB, free: 4.336 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1492, allocations: 0 / 0.5617 GB, free: 4.336 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1494, allocations: 16 kB / 0.5617 GB, free: 4.32 MB / 430.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 (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 Backend phase and start with SimCode phase: time 0.001449/0.1509, allocations: 0.849 MB / 0.5625 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.1521, allocations: 180 kB / 0.5627 GB, free: 3.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1521, allocations: 0 / 0.5627 GB, free: 3.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005414/0.1526, allocations: 88.02 kB / 0.5628 GB, free: 3.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.1528, allocations: 12.3 kB / 0.5628 GB, free: 3.172 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.154, allocations: 248.3 kB / 0.563 GB, free: 2.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.1542, allocations: 0.6731 MB / 0.5637 GB, free: 2.191 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.1544, allocations: 35.92 kB / 0.5637 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.219e-05/0.1545, allocations: 15.44 kB / 0.5637 GB, free: 2.141 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1545, allocations: 0 / 0.5637 GB, free: 2.141 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.509/0.6635, allocations: 1.474 MB / 0.5652 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.6637, allocations: 230.3 kB / 0.5654 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.639, allocations: 3.062 kB / 0.5654 GB, free: 0.5469 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)