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) 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/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004622/0.004622, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001259/0.001259, allocations: 199.8 kB / 16.68 MB, free: 5.934 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7905/0.7905, allocations: 135.6 MB / 426.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 72.39 kB / 0.5857 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1341, allocations: 81.02 MB / 0.6649 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002832/0.137, allocations: 1.767 MB / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1381, allocations: 0.6632 MB / 0.6672 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.1381, allocations: 0 / 0.6672 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.1382, allocations: 11.86 kB / 0.6673 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.1383, allocations: 19.8 kB / 0.6673 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.1388, allocations: 173.8 kB / 0.6674 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1389, allocations: 119.7 kB / 0.6676 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1391, allocations: 52.84 kB / 0.6676 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1392, allocations: 63.77 kB / 0.6677 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.1393, allocations: 47.77 kB / 0.6677 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.1393, allocations: 12 kB / 0.6677 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1394, allocations: 43.97 kB / 0.6678 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.1395, allocations: 31.89 kB / 0.6678 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.1396, allocations: 55.73 kB / 0.6678 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.1398, allocations: 151.6 kB / 0.668 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1398, allocations: 0 / 0.668 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1398, allocations: 0 / 0.668 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1398, allocations: 0 / 0.668 GB, free: 2.398 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005835/0.1404, allocations: 438.8 kB / 0.6684 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1404, allocations: 9.109 kB / 0.6684 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.1405, allocations: 42.75 kB / 0.6685 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008276/0.1413, allocations: 112.7 kB / 0.6686 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1415, allocations: 190.3 kB / 0.6687 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-05/0.1416, allocations: 59.91 kB / 0.6688 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1416, allocations: 12.38 kB / 0.6688 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.1421, allocations: 171.3 kB / 0.669 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1421, allocations: 0 / 0.669 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1422, allocations: 7.984 kB / 0.669 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1422, allocations: 4 kB / 0.669 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.1428, allocations: 163.8 kB / 0.6691 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1439, allocations: 497.5 kB / 0.6696 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.145, allocations: 214.3 kB / 0.6698 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.1453, allocations: 84.91 kB / 0.6699 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1453, allocations: 0 / 0.6699 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1453, allocations: 34.56 kB / 0.6699 GB, free: 224 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.1454, allocations: 0 / 0.6699 GB, free: 224 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001078/0.1464, allocations: 277.2 kB / 0.6702 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.1465, allocations: 51.41 kB / 0.6703 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.1466, allocations: 136.4 kB / 0.6704 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1466, allocations: 29.7 kB / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/0.1467, allocations: 112.2 kB / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1467, allocations: 19.84 kB / 0.6705 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.1468, allocations: 25.7 kB / 0.6706 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1469, allocations: 318.8 kB / 0.6709 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.1473, allocations: 71.91 kB / 0.6709 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.1476, allocations: 98.48 kB / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.1482, allocations: 166.6 kB / 0.6712 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1482, allocations: 7.984 kB / 0.6712 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007013/0.1489, allocations: 193.4 kB / 0.6714 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.149, allocations: 8.062 kB / 0.6714 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.149, allocations: 7.922 kB / 0.6714 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.149, allocations: 4 kB / 0.6714 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.1493, allocations: 35.95 kB / 0.6714 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1493, allocations: 7.938 kB / 0.6714 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.1495, allocations: 27.86 kB / 0.6715 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1495, allocations: 0 / 0.6715 GB, free: 14.58 MB / 0.5137 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.0001003/0.1496, allocations: 129.8 kB / 0.6716 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.1497, allocations: 7.953 kB / 0.6716 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007547/0.1504, allocations: 206.2 kB / 0.6718 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1504, allocations: 0 / 0.6718 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1504, allocations: 0 / 0.6718 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1504, allocations: 0 / 0.6718 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.1507, allocations: 234.4 kB / 0.672 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1507, allocations: 0 / 0.672 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.151, allocations: 31.95 kB / 0.672 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.151, allocations: 7.938 kB / 0.6721 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.151, allocations: 3.938 kB / 0.6721 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.151, allocations: 4 kB / 0.6721 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.151, allocations: 0 / 0.6721 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.1517, allocations: 291.4 kB / 0.6723 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.1518, allocations: 89.06 kB / 0.6724 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1518, allocations: 3.938 kB / 0.6724 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.1521, allocations: 27.95 kB / 0.6725 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.1522, allocations: 7.984 kB / 0.6725 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.1522, allocations: 7.984 kB / 0.6725 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.587e-05/0.1523, allocations: 103.3 kB / 0.6726 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1523, allocations: 0 / 0.6726 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002551/0.1525, allocations: 23.94 kB / 0.6726 GB, free: 13.32 MB / 0.5137 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.001028/0.1536, allocations: 0.8293 MB / 0.6734 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006787/0.1543, allocations: 163.8 kB / 0.6736 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1543, allocations: 0 / 0.6736 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.1546, allocations: 84.03 kB / 0.6736 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.1549, allocations: 7.094 kB / 0.6736 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.1581, allocations: 1.834 MB / 0.6754 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1584, allocations: 0.6963 MB / 0.6761 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.409e-05/0.1585, allocations: 19.97 kB / 0.6761 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.1585, allocations: 31.36 kB / 0.6762 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1585, allocations: 0 / 0.6762 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2371/0.3957, allocations: 2.748 MB / 0.6788 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.65, allocations: 7.875 kB / 0.6789 GB, free: 6.84 MB / 0.5137 GB (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)