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.001329/0.001329, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8772/0.8772, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001412, allocations: 64.55 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1267, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002676/0.1295, allocations: 1.76 MB / 0.5862 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009124/0.1304, allocations: 0.6554 MB / 0.5868 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.1305, allocations: 7.938 kB / 0.5868 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.1305, allocations: 15.86 kB / 0.5869 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.1306, allocations: 11.81 kB / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.131, allocations: 167.7 kB / 0.587 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1312, allocations: 127.6 kB / 0.5871 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1313, allocations: 49.08 kB / 0.5872 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1314, allocations: 63.83 kB / 0.5873 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.1315, allocations: 55.7 kB / 0.5873 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.1315, allocations: 8 kB / 0.5873 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.1316, allocations: 47.95 kB / 0.5874 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.1317, allocations: 27.92 kB / 0.5874 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.1317, allocations: 55.7 kB / 0.5874 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1319, allocations: 143.8 kB / 0.5876 GB, free: 1.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1319, allocations: 0 / 0.5876 GB, free: 1.254 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1319, allocations: 0 / 0.5876 GB, free: 1.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1319, allocations: 0 / 0.5876 GB, free: 1.254 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.0005079/0.1324, allocations: 439 kB / 0.588 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.1325, allocations: 15.97 kB / 0.588 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.1325, allocations: 42.75 kB / 0.5881 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007984/0.1333, allocations: 112.5 kB / 0.5882 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1335, allocations: 188.1 kB / 0.5883 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.984e-05/0.1335, allocations: 63.97 kB / 0.5884 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1336, allocations: 8.375 kB / 0.5884 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.134, allocations: 165.5 kB / 0.5886 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1341, allocations: 4 kB / 0.5886 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1341, allocations: 8 kB / 0.5886 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1341, allocations: 0 / 0.5886 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005974/0.1347, allocations: 158 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009838/0.1357, allocations: 477.8 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/0.1367, allocations: 226.3 kB / 0.5894 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.137, allocations: 88.89 kB / 0.5895 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.137, allocations: 7.984 kB / 0.5895 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.137, allocations: 30.56 kB / 0.5895 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.137, allocations: 0 / 0.5895 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.00101/0.1381, allocations: 269.4 kB / 0.5898 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.1381, allocations: 51.41 kB / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1382, allocations: 144 kB / 0.59 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1382, allocations: 25.7 kB / 0.59 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.1383, allocations: 116.2 kB / 0.5901 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.1383, allocations: 19.64 kB / 0.5901 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.1384, allocations: 21.72 kB / 0.5901 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.1385, allocations: 318.8 kB / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.1388, allocations: 79.86 kB / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.1391, allocations: 98.48 kB / 0.5906 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.1397, allocations: 162.4 kB / 0.5908 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1397, allocations: 0 / 0.5908 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006411/0.1403, allocations: 197.4 kB / 0.591 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1403, allocations: 16 kB / 0.591 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1404, allocations: 3.938 kB / 0.591 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1404, allocations: 0 / 0.591 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.1406, allocations: 35.95 kB / 0.591 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1407, allocations: 3.984 kB / 0.591 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1408, allocations: 23.97 kB / 0.591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.1409, allocations: 7.938 kB / 0.591 GB, free: 13.44 MB / 0.4981 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 9.148e-05/0.141, allocations: 117.8 kB / 0.5912 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.141, allocations: 7.906 kB / 0.5912 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007002/0.1417, allocations: 210.2 kB / 0.5914 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1417, allocations: 3.984 kB / 0.5914 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1417, allocations: 0 / 0.5914 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1417, allocations: 0 / 0.5914 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.142, allocations: 238.5 kB / 0.5916 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.142, allocations: 0 / 0.5916 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.1422, allocations: 39.89 kB / 0.5916 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1422, allocations: 0 / 0.5916 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1422, allocations: 7.922 kB / 0.5916 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1422, allocations: 4 kB / 0.5916 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1423, allocations: 4 kB / 0.5917 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.1429, allocations: 279.3 kB / 0.5919 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.143, allocations: 89.02 kB / 0.592 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.143, allocations: 7.938 kB / 0.592 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.1433, allocations: 31.95 kB / 0.592 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.1433, allocations: 3.984 kB / 0.592 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1433, allocations: 7.984 kB / 0.5921 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.485e-05/0.1434, allocations: 105.8 kB / 0.5922 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1434, allocations: 0 / 0.5922 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002419/0.1437, allocations: 24 kB / 0.5922 GB, free: 12.19 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 (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.0008654/0.1445, allocations: 0.8176 MB / 0.593 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.1452, allocations: 167.8 kB / 0.5931 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1452, allocations: 0 / 0.5931 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.1455, allocations: 88.03 kB / 0.5932 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.1458, allocations: 7.938 kB / 0.5932 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.1491, allocations: 1.843 MB / 0.595 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1494, allocations: 0.7002 MB / 0.5957 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.1495, allocations: 23.97 kB / 0.5957 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.307e-05/0.1497, allocations: 27.42 kB / 0.5958 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1497, allocations: 0 / 0.5958 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3565/0.5062, allocations: 2.693 MB / 0.5984 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.409/9.915, allocations: 14.3 kB / 0.5984 GB, free: 5.754 MB / 0.4981 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)