Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",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.001111/0.001112, allocations: 92 kB / 15.06 MB, free: 1.098 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.001379/0.001379, allocations: 172.7 kB / 15.95 MB, free: 208 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.34/1.34, allocations: 223.3 MB / 240 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7483/0.7483, allocations: 132.3 MB / 423.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.000461, allocations: 9.219 kB / 0.5035 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4267, allocations: 81.58 MB / 0.5832 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001751/0.4286, allocations: 1.171 MB / 0.5843 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007528/0.4293, allocations: 0.5252 MB / 0.5848 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.4294, allocations: 5.188 kB / 0.5848 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.4294, allocations: 0.6562 kB / 0.5848 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.285e-05/0.4294, allocations: 9.5 kB / 0.5848 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.4297, allocations: 34.73 kB / 0.5849 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.4298, allocations: 23.61 kB / 0.5849 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.4298, allocations: 8.547 kB / 0.5849 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.4299, allocations: 12.33 kB / 0.5849 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.43, allocations: 13.64 kB / 0.5849 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.43, allocations: 5.375 kB / 0.5849 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.4301, allocations: 45.14 kB / 0.585 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.4301, allocations: 8.641 kB / 0.585 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.4302, allocations: 32.61 kB / 0.585 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.4303, allocations: 37.31 kB / 0.585 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4303, allocations: 0.75 kB / 0.585 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4303, allocations: 0 / 0.585 GB, free: 2.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.4303, allocations: 0 / 0.585 GB, free: 2.539 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.0003431/0.4307, allocations: 358.1 kB / 0.5854 GB, free: 2.164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.4307, allocations: 8.75 kB / 0.5854 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.589e-05/0.4308, allocations: 31.84 kB / 0.5854 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.4308, allocations: 10.42 kB / 0.5854 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.935e-05/0.4309, allocations: 166.7 kB / 0.5856 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.4309, allocations: 0.6562 kB / 0.5856 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.4309, allocations: 2.188 kB / 0.5856 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.431, allocations: 43.14 kB / 0.5856 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4311, allocations: 0.9375 kB / 0.5856 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.4311, allocations: 8.781 kB / 0.5856 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4311, allocations: 1.281 kB / 0.5856 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.4312, allocations: 22.78 kB / 0.5857 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.4314, allocations: 258.1 kB / 0.5859 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.687e-05/0.4315, allocations: 36.5 kB / 0.5859 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.4316, allocations: 19.11 kB / 0.586 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006952/0.4323, allocations: 498.2 kB / 0.5864 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.4323, allocations: 31.27 kB / 0.5865 GB, free: 1.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.4323, allocations: 0.7812 kB / 0.5865 GB, free: 1.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002307/0.4326, allocations: 79.41 kB / 0.5865 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.4326, allocations: 56.83 kB / 0.5866 GB, free: 0.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.4327, allocations: 106.6 kB / 0.5867 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.4327, allocations: 25.7 kB / 0.5867 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.4327, allocations: 87.53 kB / 0.5868 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.4327, allocations: 9.406 kB / 0.5868 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.4327, allocations: 4 kB / 0.5868 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.4328, allocations: 317.8 kB / 0.5871 GB, free: 380 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.4328, allocations: 9.344 kB / 0.5871 GB, free: 380 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.042e-05/0.4329, allocations: 14.25 kB / 0.5871 GB, free: 376 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.433, allocations: 9.25 kB / 0.5872 GB, free: 376 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.433, allocations: 4.062 kB / 0.5872 GB, free: 372 kB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001117/0.4331, allocations: 60.78 kB / 0.5872 GB, free: 332 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4331, allocations: 5.859 kB / 0.5872 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4331, allocations: 0 / 0.5872 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4331, allocations: 0 / 0.5872 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.4332, allocations: 7.672 kB / 0.5872 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4332, allocations: 3.953 kB / 0.5872 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.4333, allocations: 13.14 kB / 0.5872 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.4333, allocations: 0 / 0.5872 GB, free: 320 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.4333, allocations: 113.8 kB / 0.5874 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.4334, allocations: 6.344 kB / 0.5874 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.4335, allocations: 68.55 kB / 0.5874 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4335, allocations: 1.516 kB / 0.5874 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4335, allocations: 0 / 0.5874 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4336, allocations: 9.516 kB / 0.5874 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.4337, allocations: 162.1 kB / 0.5876 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4337, allocations: 0 / 0.5876 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.4338, allocations: 6.531 kB / 0.5876 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4338, allocations: 1.312 kB / 0.5876 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4338, allocations: 4.656 kB / 0.5876 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4338, allocations: 1.672 kB / 0.5876 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4338, allocations: 0 / 0.5876 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.434, allocations: 163.4 kB / 0.5878 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.4341, allocations: 82.41 kB / 0.5878 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.4341, allocations: 1.125 kB / 0.5878 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.4342, allocations: 3.797 kB / 0.5878 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.4342, allocations: 2.5 kB / 0.5878 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.4342, allocations: 1.719 kB / 0.5879 GB, free: 15.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.59e-05/0.4343, allocations: 94.59 kB / 0.5879 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.375e-06/0.4343, allocations: 0.6875 kB / 0.5879 GB, free: 15.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.4345, allocations: 21.73 kB / 0.588 GB, free: 15.6 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 (2): * Single equations (assignments): 2 * 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.00053/0.435, allocations: 0.6979 MB / 0.5886 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.4352, allocations: 26.59 kB / 0.5887 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4352, allocations: 1.375 kB / 0.5887 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.4353, allocations: 19.05 kB / 0.5887 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.4355, allocations: 1.719 kB / 0.5887 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.4359, allocations: 170.1 kB / 0.5889 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.4362, allocations: 0.6798 MB / 0.5895 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.42e-05/0.4362, allocations: 1.844 kB / 0.5895 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.4363, allocations: 13.92 kB / 0.5895 GB, free: 14.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4363, allocations: 0 / 0.5895 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.4484, allocations: 1.372 MB / 0.5909 GB, free: 13.87 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.4487, allocations: 161 kB / 0.591 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.142, allocations: 1 kB / 0.591 GB, free: 13.64 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: