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.0011/0.001099, 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.001775/0.001775, allocations: 194.7 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7272/0.7272, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 60.41 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4394, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002747/0.4422, allocations: 1.765 MB / 0.5819 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.4433, allocations: 0.6565 MB / 0.5826 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.4434, allocations: 1.906 kB / 0.5826 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.4434, allocations: 10.41 kB / 0.5826 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.331e-05/0.4435, allocations: 22.67 kB / 0.5826 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.4441, allocations: 177.2 kB / 0.5828 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.4443, allocations: 120.9 kB / 0.5829 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.4445, allocations: 53.38 kB / 0.5829 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.4447, allocations: 61.31 kB / 0.583 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.4448, allocations: 50.55 kB / 0.583 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.4449, allocations: 13.97 kB / 0.583 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.445, allocations: 45 kB / 0.5831 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.4451, allocations: 32.2 kB / 0.5831 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.485e-05/0.4452, allocations: 60.38 kB / 0.5832 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.4455, allocations: 141 kB / 0.5833 GB, free: 2.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4455, allocations: 0 / 0.5833 GB, free: 2.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4455, allocations: 0 / 0.5833 GB, free: 2.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.4455, allocations: 0 / 0.5833 GB, free: 2.504 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.0006772/0.4462, allocations: 438.2 kB / 0.5837 GB, free: 2.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.4463, allocations: 14.55 kB / 0.5837 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.4463, allocations: 39.75 kB / 0.5838 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000962/0.4473, allocations: 115.7 kB / 0.5839 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.4474, allocations: 181.1 kB / 0.5841 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.405e-05/0.4475, allocations: 67.67 kB / 0.5841 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.4476, allocations: 6.906 kB / 0.5841 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.4481, allocations: 169.1 kB / 0.5843 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4482, allocations: 4.672 kB / 0.5843 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.4482, allocations: 1.422 kB / 0.5843 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.4482, allocations: 2.906 kB / 0.5843 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.4489, allocations: 163.2 kB / 0.5845 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.45, allocations: 488.3 kB / 0.5849 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.4511, allocations: 222.9 kB / 0.5851 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.4515, allocations: 80.73 kB / 0.5852 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.4515, allocations: 6.062 kB / 0.5852 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.4515, allocations: 31.91 kB / 0.5853 GB, free: 1.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.4516, allocations: 0 / 0.5853 GB, free: 1.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001155/0.4527, allocations: 262.8 kB / 0.5855 GB, free: 1.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.4527, allocations: 57.06 kB / 0.5856 GB, free: 1.008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.4529, allocations: 136.1 kB / 0.5857 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.4529, allocations: 30.86 kB / 0.5857 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.4529, allocations: 106.7 kB / 0.5858 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.453, allocations: 20.05 kB / 0.5858 GB, free: 0.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.453, allocations: 23.33 kB / 0.5859 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.943e-05/0.4531, allocations: 324.6 kB / 0.5862 GB, free: 420 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.4534, allocations: 73.81 kB / 0.5862 GB, free: 404 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.4538, allocations: 96.19 kB / 0.5863 GB, free: 360 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/0.4544, allocations: 164.8 kB / 0.5865 GB, free: 296 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4544, allocations: 0.7969 kB / 0.5865 GB, free: 296 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007021/0.4551, allocations: 201.4 kB / 0.5867 GB, free: 220 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4551, allocations: 10.19 kB / 0.5867 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4551, allocations: 4.688 kB / 0.5867 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4552, allocations: 5.375 kB / 0.5867 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.4554, allocations: 39.5 kB / 0.5867 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4555, allocations: 2.031 kB / 0.5867 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.4557, allocations: 33.25 kB / 0.5868 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.4557, allocations: 4.094 kB / 0.5868 GB, free: 192 kB / 430.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 7.764e-05/0.4558, allocations: 116.3 kB / 0.5869 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.4558, allocations: 12.5 kB / 0.5869 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/0.4566, allocations: 208.3 kB / 0.5871 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4566, allocations: 0 / 0.5871 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4566, allocations: 1.703 kB / 0.5871 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4566, allocations: 4 kB / 0.5871 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.4569, allocations: 236.8 kB / 0.5873 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4569, allocations: 0.8438 kB / 0.5873 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.4572, allocations: 32.84 kB / 0.5874 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4572, allocations: 0 / 0.5874 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.4572, allocations: 6.688 kB / 0.5874 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4572, allocations: 0 / 0.5874 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4572, allocations: 1.188 kB / 0.5874 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.458, allocations: 285.9 kB / 0.5876 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.458, allocations: 83.89 kB / 0.5877 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.4581, allocations: 5.938 kB / 0.5877 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.4584, allocations: 37.31 kB / 0.5878 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.4585, allocations: 4.219 kB / 0.5878 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.4585, allocations: 6.562 kB / 0.5878 GB, free: 15.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.001e-05/0.4586, allocations: 107 kB / 0.5879 GB, free: 15.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4586, allocations: 0 / 0.5879 GB, free: 15.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.4589, allocations: 27.88 kB / 0.5879 GB, free: 15.38 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 (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.4599, allocations: 0.8144 MB / 0.5887 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007194/0.4606, allocations: 173 kB / 0.5889 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4606, allocations: 0.625 kB / 0.5889 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.461, allocations: 79.59 kB / 0.5889 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.4613, allocations: 15.91 kB / 0.589 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.4646, allocations: 1.834 MB / 0.5907 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.465, allocations: 0.6996 MB / 0.5914 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.4651, allocations: 18.28 kB / 0.5914 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.295e-05/0.4652, allocations: 32.86 kB / 0.5915 GB, free: 12.48 MB / 446.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4652, allocations: 4 kB / 0.5915 GB, free: 12.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.453/0.9181, allocations: 2.694 MB / 0.5941 GB, free: 11.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.802, allocations: 5.094 kB / 0.5941 GB, free: 11.68 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/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)