Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.978/0.978, allocations: 175.7 MB / 480.1 MB, free: 3.242 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 69.58 kB / 0.6678 GB, free: 11.18 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1525, allocations: 94.53 MB / 0.7601 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002824/0.1553, allocations: 1.8 MB / 0.7618 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1564, allocations: 0.6738 MB / 0.7625 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.1564, allocations: 4 kB / 0.7625 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/0.1565, allocations: 11.86 kB / 0.7625 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.1565, allocations: 19.8 kB / 0.7625 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.157, allocations: 169.9 kB / 0.7627 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1572, allocations: 123.7 kB / 0.7628 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1573, allocations: 37.05 kB / 0.7628 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1574, allocations: 59.77 kB / 0.7629 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.1575, allocations: 47.77 kB / 0.7629 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.1575, allocations: 12 kB / 0.763 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1577, allocations: 47.97 kB / 0.763 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.1577, allocations: 31.89 kB / 0.763 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.1578, allocations: 63.64 kB / 0.7631 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.158, allocations: 143.4 kB / 0.7632 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.158, allocations: 4 kB / 0.7632 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.158, allocations: 0 / 0.7632 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.158, allocations: 0 / 0.7632 GB, free: 13.74 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006012/0.1586, allocations: 442.8 kB / 0.7637 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1586, allocations: 12.03 kB / 0.7637 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.1587, allocations: 42.67 kB / 0.7637 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000813/0.1595, allocations: 116.7 kB / 0.7638 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1596, allocations: 181.8 kB / 0.764 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.1597, allocations: 67.95 kB / 0.7641 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1597, allocations: 4.375 kB / 0.7641 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.1602, allocations: 179.4 kB / 0.7642 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.1603, allocations: 0 / 0.7642 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.1603, allocations: 7.938 kB / 0.7642 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1603, allocations: 0 / 0.7642 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.1609, allocations: 155.8 kB / 0.7644 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1619, allocations: 490 kB / 0.7649 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.1629, allocations: 222.3 kB / 0.7651 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.1632, allocations: 80.91 kB / 0.7651 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1633, allocations: 0 / 0.7651 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1633, allocations: 38.55 kB / 0.7652 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.1633, allocations: 0 / 0.7652 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.000993/0.1643, allocations: 261.3 kB / 0.7654 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1643, allocations: 55.41 kB / 0.7655 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1644, allocations: 139.5 kB / 0.7656 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.1645, allocations: 29.7 kB / 0.7656 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.1645, allocations: 108.2 kB / 0.7657 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1646, allocations: 27.73 kB / 0.7658 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.1646, allocations: 33.64 kB / 0.7658 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1647, allocations: 318.8 kB / 0.7661 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.165, allocations: 71.92 kB / 0.7662 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.1654, allocations: 98.73 kB / 0.7663 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.1659, allocations: 170.4 kB / 0.7664 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1659, allocations: 0 / 0.7664 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006735/0.1666, allocations: 197.4 kB / 0.7666 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1666, allocations: 4 kB / 0.7666 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1666, allocations: 7.938 kB / 0.7666 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1666, allocations: 4.062 kB / 0.7666 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.1669, allocations: 35.95 kB / 0.7667 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1669, allocations: 3.938 kB / 0.7667 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.1671, allocations: 23.97 kB / 0.7667 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1671, allocations: 7.984 kB / 0.7667 GB, free: 9.922 MB / 0.5762 GB 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 (8): * Single equations (assignments): 8 * 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 0.0001006/0.1672, allocations: 113.8 kB / 0.7668 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.1672, allocations: 11.95 kB / 0.7668 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007004/0.1679, allocations: 202.2 kB / 0.767 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1679, allocations: 0 / 0.767 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.168, allocations: 8 kB / 0.767 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.168, allocations: 0 / 0.767 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.1682, allocations: 249.9 kB / 0.7673 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1682, allocations: 0 / 0.7673 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.1685, allocations: 35.89 kB / 0.7673 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1685, allocations: 0 / 0.7673 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1685, allocations: 3.938 kB / 0.7673 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1685, allocations: 0 / 0.7673 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1685, allocations: 3.984 kB / 0.7673 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.1692, allocations: 283.5 kB / 0.7676 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.1692, allocations: 92.98 kB / 0.7677 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1693, allocations: 7.938 kB / 0.7677 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.1695, allocations: 31.95 kB / 0.7677 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.1696, allocations: 4 kB / 0.7677 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1696, allocations: 7.984 kB / 0.7677 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.846e-05/0.1697, allocations: 113.4 kB / 0.7678 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1697, allocations: 0 / 0.7678 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002481/0.1699, allocations: 27.95 kB / 0.7678 GB, free: 8.641 MB / 0.5762 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 (6): * Single equations (assignments): 6 * 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.001024/0.1709, allocations: 0.8177 MB / 0.7686 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006448/0.1716, allocations: 159.8 kB / 0.7688 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1716, allocations: 4 kB / 0.7688 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.1719, allocations: 76.05 kB / 0.7689 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.1722, allocations: 19.92 kB / 0.7689 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.1753, allocations: 1.833 MB / 0.7707 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1756, allocations: 0.7002 MB / 0.7714 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.899e-05/0.1756, allocations: 15.98 kB / 0.7714 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.1757, allocations: 31.42 kB / 0.7714 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.1757, allocations: 4 kB / 0.7714 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.2007, allocations: 2.755 MB / 0.7741 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.305, allocations: 7.516 kB / 0.7741 GB, free: 2.168 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.672392729000421]