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.0008168/0.0008168, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001035/0.001035, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.767/0.767, allocations: 132.4 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 13.09 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4199, allocations: 81.57 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.001626/0.4216, allocations: 1.446 MB / 0.5846 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008342/0.4224, allocations: 0.6304 MB / 0.5852 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.4225, allocations: 1.438 kB / 0.5852 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.4225, allocations: 8.484 kB / 0.5852 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.773e-05/0.4226, allocations: 12.66 kB / 0.5852 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.4231, allocations: 159.2 kB / 0.5854 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.4232, allocations: 101.4 kB / 0.5854 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4233, allocations: 34.38 kB / 0.5855 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.4234, allocations: 45.55 kB / 0.5855 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.4235, allocations: 44.39 kB / 0.5856 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.4235, allocations: 3.219 kB / 0.5856 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.4237, allocations: 42.23 kB / 0.5856 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.4237, allocations: 19.95 kB / 0.5856 GB, free: 2.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.4237, allocations: 43.36 kB / 0.5857 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.4239, allocations: 95.92 kB / 0.5858 GB, free: 2.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4239, allocations: 0 / 0.5858 GB, free: 2.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4239, allocations: 0 / 0.5858 GB, free: 2.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.4239, allocations: 0 / 0.5858 GB, free: 2.234 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000504/0.4244, allocations: 419.3 kB / 0.5862 GB, free: 1.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4245, allocations: 13.31 kB / 0.5862 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.4245, allocations: 39.77 kB / 0.5862 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/0.4254, allocations: 146.2 kB / 0.5864 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.4255, allocations: 179.5 kB / 0.5865 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.925e-05/0.4256, allocations: 62.78 kB / 0.5866 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.4256, allocations: 13.47 kB / 0.5866 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.4261, allocations: 184.6 kB / 0.5868 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4262, allocations: 0 / 0.5868 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.4262, allocations: 5.344 kB / 0.5868 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4262, allocations: 10.23 kB / 0.5868 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.4268, allocations: 195.3 kB / 0.587 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.4279, allocations: 0.4961 MB / 0.5875 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.4288, allocations: 273.1 kB / 0.5877 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.4291, allocations: 100 kB / 0.5878 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.4292, allocations: 1.688 kB / 0.5878 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.4292, allocations: 37.44 kB / 0.5879 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.4292, allocations: 0 / 0.5879 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001008/0.4302, allocations: 308.5 kB / 0.5881 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.4303, allocations: 60.48 kB / 0.5882 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.4304, allocations: 139.8 kB / 0.5883 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.4304, allocations: 26.92 kB / 0.5884 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.4305, allocations: 118 kB / 0.5885 GB, free: 488 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.4305, allocations: 20.53 kB / 0.5885 GB, free: 472 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/0.4305, allocations: 0 / 0.5885 GB, free: 472 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.4306, allocations: 320.2 kB / 0.5888 GB, free: 148 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.4309, allocations: 90.48 kB / 0.5889 GB, free: 132 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.4311, allocations: 111.6 kB / 0.589 GB, free: 88 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.4314, allocations: 89.92 kB / 0.5891 GB, free: 68 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4314, allocations: 1.719 kB / 0.5891 GB, free: 68 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006811/0.4321, allocations: 243.8 kB / 0.5893 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4322, allocations: 8.188 kB / 0.5893 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4322, allocations: 2 kB / 0.5893 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4322, allocations: 1.375 kB / 0.5893 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.4325, allocations: 46.84 kB / 0.5894 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4325, allocations: 4.891 kB / 0.5894 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.4327, allocations: 41.02 kB / 0.5894 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.4327, allocations: 3.969 kB / 0.5894 GB, free: 15.96 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.4329, allocations: 124.9 kB / 0.5895 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.4329, allocations: 9.312 kB / 0.5895 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000738/0.4336, allocations: 242.1 kB / 0.5898 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4337, allocations: 5.875 kB / 0.5898 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4337, allocations: 0 / 0.5898 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4337, allocations: 5.328 kB / 0.5898 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.434, allocations: 224.2 kB / 0.59 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.434, allocations: 0.7031 kB / 0.59 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.4342, allocations: 43.59 kB / 0.59 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4342, allocations: 5.422 kB / 0.59 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4343, allocations: 6 kB / 0.5901 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4343, allocations: 0.7031 kB / 0.5901 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4343, allocations: 1.281 kB / 0.5901 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.4351, allocations: 321.2 kB / 0.5904 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.4351, allocations: 83.78 kB / 0.5904 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.4352, allocations: 0.75 kB / 0.5904 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.4355, allocations: 41.12 kB / 0.5905 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.4355, allocations: 13.02 kB / 0.5905 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.4356, allocations: 11.25 kB / 0.5905 GB, free: 15.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.4357, allocations: 109.7 kB / 0.5906 GB, free: 15.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4357, allocations: 0 / 0.5906 GB, free: 15.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.436, allocations: 27.53 kB / 0.5906 GB, free: 15.13 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.437, allocations: 0.8513 MB / 0.5915 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006851/0.4377, allocations: 203.7 kB / 0.5917 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4377, allocations: 0 / 0.5917 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.4381, allocations: 100.4 kB / 0.5918 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.4384, allocations: 8.906 kB / 0.5918 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.4404, allocations: 0.9249 MB / 0.5927 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.4407, allocations: 0.6999 MB / 0.5934 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.4408, allocations: 15.48 kB / 0.5934 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.4409, allocations: 32.64 kB / 0.5934 GB, free: 13.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.655e-06/0.4409, allocations: 0 / 0.5934 GB, free: 13.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.4537, allocations: 2.401 MB / 0.5957 GB, free: 12.63 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.4538, allocations: 162.5 kB / 0.5959 GB, free: 12.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.147, allocations: 0 / 0.5959 GB, free: 12.4 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: