Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_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.001022/0.001022, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009966/0.0009967, allocations: 191 kB / 16.25 MB, free: 6.625 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.283/1.283, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.718/0.718, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 64.05 kB / 0.5014 GB, free: 9.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1273, allocations: 80.19 MB / 0.5797 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002703/0.1301, allocations: 1.839 MB / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009001/0.131, allocations: 0.6554 MB / 0.5821 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.131, allocations: 0 / 0.5821 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.1311, allocations: 7.922 kB / 0.5821 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.1311, allocations: 15.86 kB / 0.5821 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.1316, allocations: 151.2 kB / 0.5823 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1317, allocations: 119.7 kB / 0.5824 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1319, allocations: 59.89 kB / 0.5824 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.132, allocations: 59.83 kB / 0.5825 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.1321, allocations: 55.66 kB / 0.5826 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1321, allocations: 8 kB / 0.5826 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-05/0.1322, allocations: 47.95 kB / 0.5826 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.1322, allocations: 31.91 kB / 0.5826 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.1323, allocations: 51.72 kB / 0.5827 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.1324, allocations: 147.8 kB / 0.5828 GB, free: 5.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1325, allocations: 4 kB / 0.5828 GB, free: 5.785 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1325, allocations: 0 / 0.5828 GB, free: 5.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1325, allocations: 4 kB / 0.5828 GB, free: 5.781 MB / 494.1 MB 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.000554/0.133, allocations: 427 kB / 0.5832 GB, free: 5.316 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.1331, allocations: 15.95 kB / 0.5833 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.1331, allocations: 42.75 kB / 0.5833 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007699/0.1339, allocations: 112.6 kB / 0.5834 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.134, allocations: 182.4 kB / 0.5836 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.048e-05/0.1341, allocations: 63.97 kB / 0.5836 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1341, allocations: 12.31 kB / 0.5837 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.1346, allocations: 175.5 kB / 0.5838 GB, free: 4.664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1346, allocations: 4 kB / 0.5838 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1346, allocations: 4 kB / 0.5838 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1346, allocations: 0 / 0.5838 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.1352, allocations: 159.7 kB / 0.584 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009678/0.1362, allocations: 485.9 kB / 0.5844 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/0.1371, allocations: 218.3 kB / 0.5847 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.1374, allocations: 88.83 kB / 0.5847 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.1374, allocations: 0 / 0.5847 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.1374, allocations: 30.56 kB / 0.5848 GB, free: 3.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.1374, allocations: 0 / 0.5848 GB, free: 3.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008962/0.1383, allocations: 269.4 kB / 0.585 GB, free: 3.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1384, allocations: 51.41 kB / 0.5851 GB, free: 3.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.1385, allocations: 147.5 kB / 0.5852 GB, free: 3.141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1385, allocations: 25.7 kB / 0.5852 GB, free: 3.109 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.1386, allocations: 112.2 kB / 0.5853 GB, free: 2.996 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1386, allocations: 15.66 kB / 0.5854 GB, free: 2.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.1387, allocations: 29.64 kB / 0.5854 GB, free: 2.945 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.1388, allocations: 322.8 kB / 0.5857 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.139, allocations: 79.86 kB / 0.5858 GB, free: 2.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.1393, allocations: 94.48 kB / 0.5859 GB, free: 2.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.1398, allocations: 158.4 kB / 0.586 GB, free: 2.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1399, allocations: 0 / 0.586 GB, free: 2.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005973/0.1405, allocations: 201.4 kB / 0.5862 GB, free: 2.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1405, allocations: 11.94 kB / 0.5862 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1405, allocations: 3.938 kB / 0.5862 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.1405, allocations: 0 / 0.5862 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.1408, allocations: 39.89 kB / 0.5863 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1408, allocations: 0 / 0.5863 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.141, allocations: 31.95 kB / 0.5863 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.141, allocations: 4 kB / 0.5863 GB, free: 1.984 MB / 494.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 (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 8.996e-05/0.1411, allocations: 114.5 kB / 0.5864 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.1411, allocations: 7.906 kB / 0.5864 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006446/0.1418, allocations: 214.4 kB / 0.5866 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1418, allocations: 64 / 0.5866 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1418, allocations: 7.984 kB / 0.5866 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1418, allocations: 0 / 0.5866 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.142, allocations: 242.1 kB / 0.5869 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.142, allocations: 0 / 0.5869 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.1422, allocations: 31.95 kB / 0.5869 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1423, allocations: 4 kB / 0.5869 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1423, allocations: 7.922 kB / 0.5869 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1423, allocations: 4 kB / 0.5869 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1423, allocations: 0 / 0.5869 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.1429, allocations: 287.2 kB / 0.5872 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.143, allocations: 85.02 kB / 0.5873 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.143, allocations: 3.938 kB / 0.5873 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.1433, allocations: 31.95 kB / 0.5873 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.1433, allocations: 3.984 kB / 0.5873 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.1434, allocations: 11.98 kB / 0.5873 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.184e-05/0.1434, allocations: 103.3 kB / 0.5874 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1434, allocations: 0 / 0.5874 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1437, allocations: 24 kB / 0.5874 GB, free: 0.7227 MB / 494.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 (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.0008623/0.1445, allocations: 0.8177 MB / 0.5882 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005831/0.1451, allocations: 163.8 kB / 0.5884 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1451, allocations: 4.125 kB / 0.5884 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.1454, allocations: 87.84 kB / 0.5885 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.1457, allocations: 7.938 kB / 0.5885 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.1483, allocations: 1.864 MB / 0.5903 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.1486, allocations: 0.7023 MB / 0.591 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.1487, allocations: 19.98 kB / 0.591 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.1487, allocations: 27.42 kB / 0.591 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1487, allocations: 0 / 0.591 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3204/0.4691, allocations: 2.571 MB / 0.5935 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/0.4694, allocations: 189.9 kB / 0.5937 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.165, allocations: 0 / 0.5937 GB, free: 10.19 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)