Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",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.000877/0.0008769, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005336/0.005336, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7456/0.7456, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 8 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3544, allocations: 81.57 MB / 0.5837 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.001132/0.3555, allocations: 1.164 MB / 0.5849 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003302/0.3559, allocations: 196.7 kB / 0.5851 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.3559, allocations: 3.938 kB / 0.5851 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.3559, allocations: 2.469 kB / 0.5851 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.151e-05/0.356, allocations: 1.312 kB / 0.5851 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3561, allocations: 26.61 kB / 0.5851 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.629e-05/0.3562, allocations: 29.33 kB / 0.5851 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.706e-05/0.3563, allocations: 8.016 kB / 0.5851 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.3563, allocations: 4.594 kB / 0.5851 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.3564, allocations: 13.59 kB / 0.5851 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.3564, allocations: 1.188 kB / 0.5852 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.3564, allocations: 32.73 kB / 0.5852 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.3565, allocations: 5.766 kB / 0.5852 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.3565, allocations: 33.03 kB / 0.5852 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.722e-05/0.3566, allocations: 41.2 kB / 0.5853 GB, free: 2.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3566, allocations: 0 / 0.5853 GB, free: 2.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3566, allocations: 0 / 0.5853 GB, free: 2.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.3566, allocations: 0 / 0.5853 GB, free: 2.777 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002892/0.3569, allocations: 348.6 kB / 0.5856 GB, free: 2.414 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3569, allocations: 9.406 kB / 0.5856 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.094e-05/0.357, allocations: 35.5 kB / 0.5856 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.757e-05/0.357, allocations: 3.562 kB / 0.5856 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.87e-05/0.3571, allocations: 170.7 kB / 0.5858 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.3571, allocations: 1.625 kB / 0.5858 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.3571, allocations: 5.922 kB / 0.5858 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3572, allocations: 65.25 kB / 0.5859 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3573, allocations: 4.734 kB / 0.5859 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-06/0.3573, allocations: 1.188 kB / 0.5859 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3573, allocations: 0 / 0.5859 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.3574, allocations: 42.22 kB / 0.5859 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.3577, allocations: 256.8 kB / 0.5862 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.3578, allocations: 45.7 kB / 0.5862 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.3579, allocations: 36.75 kB / 0.5862 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.3579, allocations: 79.95 kB / 0.5863 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.358, allocations: 32.77 kB / 0.5863 GB, free: 1.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.358, allocations: 0 / 0.5863 GB, free: 1.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000321/0.3583, allocations: 98.81 kB / 0.5864 GB, free: 1.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.3583, allocations: 52.86 kB / 0.5865 GB, free: 1.539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.132e-05/0.3584, allocations: 102.3 kB / 0.5866 GB, free: 1.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.3584, allocations: 25.7 kB / 0.5866 GB, free: 1.406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.3584, allocations: 86.3 kB / 0.5867 GB, free: 1.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.3584, allocations: 9.703 kB / 0.5867 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.3584, allocations: 11.08 kB / 0.5867 GB, free: 1.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.138e-05/0.3585, allocations: 316.5 kB / 0.587 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.3586, allocations: 28.25 kB / 0.587 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.3586, allocations: 18.97 kB / 0.5871 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3588, allocations: 55.16 kB / 0.5871 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3588, allocations: 4.594 kB / 0.5871 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/0.359, allocations: 77.2 kB / 0.5872 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.359, allocations: 6.812 kB / 0.5872 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.359, allocations: 0.5625 kB / 0.5872 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.359, allocations: 1.094 kB / 0.5872 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.573e-05/0.3591, allocations: 10.62 kB / 0.5872 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.3591, allocations: 0.5312 kB / 0.5872 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.3592, allocations: 12.73 kB / 0.5872 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3592, allocations: 1.547 kB / 0.5872 GB, free: 0.9062 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 3.884e-05/0.3592, allocations: 122.2 kB / 0.5873 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.3593, allocations: 4.625 kB / 0.5873 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.3595, allocations: 81.66 kB / 0.5874 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3595, allocations: 0.7188 kB / 0.5874 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3595, allocations: 1.969 kB / 0.5874 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.3595, allocations: 0 / 0.5874 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.897e-05/0.3596, allocations: 164.1 kB / 0.5876 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3596, allocations: 0.7812 kB / 0.5876 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.3597, allocations: 11.36 kB / 0.5876 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3597, allocations: 4.906 kB / 0.5876 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3597, allocations: 7.938 kB / 0.5876 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3597, allocations: 9.438 kB / 0.5876 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3597, allocations: 0 / 0.5876 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.3599, allocations: 177.1 kB / 0.5878 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.3599, allocations: 78.91 kB / 0.5879 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.3599, allocations: 1.469 kB / 0.5879 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.36, allocations: 12.05 kB / 0.5879 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.36, allocations: 3.109 kB / 0.5879 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3601, allocations: 1 kB / 0.5879 GB, free: 280 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.109e-05/0.3601, allocations: 85.69 kB / 0.588 GB, free: 200 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3601, allocations: 4.031 kB / 0.588 GB, free: 196 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.3603, allocations: 9.609 kB / 0.588 GB, free: 196 kB / 430.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 (2): * Single equations (assignments): 2 * 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.0004485/0.3608, allocations: 0.7168 MB / 0.5887 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.361, allocations: 49.48 kB / 0.5887 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.361, allocations: 0 / 0.5887 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.585e-05/0.3611, allocations: 26.53 kB / 0.5887 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3613, allocations: 8.25 kB / 0.5888 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.3616, allocations: 146.7 kB / 0.5889 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.3618, allocations: 0.6799 MB / 0.5896 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.831e-05/0.3619, allocations: 6.109 kB / 0.5896 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.3619, allocations: 9 kB / 0.5896 GB, free: 14.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3619, allocations: 0 / 0.5896 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09597/0.4579, allocations: 1.166 MB / 0.5907 GB, free: 14.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.4581, allocations: 188.3 kB / 0.5909 GB, free: 14.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.279, allocations: 0 / 0.5909 GB, free: 14.22 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)