Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.001275/0.001275, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00154/0.00154, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.103/2.103, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.549/1.549, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005276/0.0005278, allocations: 8 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2301, allocations: 82.3 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002648/0.2328, allocations: 1.144 MB / 0.5884 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2341, allocations: 436.2 kB / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.2342, allocations: 0 / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.2342, allocations: 7.984 kB / 0.5888 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.997e-05/0.2344, allocations: 4 kB / 0.5888 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.2346, allocations: 15.98 kB / 0.5888 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.916e-05/0.2347, allocations: 15.92 kB / 0.5888 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2349, allocations: 4 kB / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.931e-05/0.235, allocations: 11.97 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.899e-05/0.2351, allocations: 11.92 kB / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.2351, allocations: 4 kB / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.2352, allocations: 15.98 kB / 0.5889 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.2353, allocations: 8 kB / 0.5889 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.2353, allocations: 25.7 kB / 0.5889 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.2355, allocations: 19.95 kB / 0.5889 GB, free: 1.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2355, allocations: 3.938 kB / 0.5889 GB, free: 1.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2355, allocations: 3.938 kB / 0.589 GB, free: 1.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.2355, allocations: 0 / 0.589 GB, free: 1.281 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006397/0.2362, allocations: 347.5 kB / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.2362, allocations: 16.03 kB / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.2363, allocations: 30.56 kB / 0.5893 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.2364, allocations: 0 / 0.5893 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.2365, allocations: 174.9 kB / 0.5895 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.2366, allocations: 0 / 0.5895 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.2366, allocations: 4 kB / 0.5895 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.2369, allocations: 49.67 kB / 0.5895 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2369, allocations: 7.984 kB / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.237, allocations: 4 kB / 0.5896 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.237, allocations: 4 kB / 0.5896 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.2373, allocations: 43.91 kB / 0.5896 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.2379, allocations: 252.9 kB / 0.5898 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.2381, allocations: 38.56 kB / 0.5899 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.2383, allocations: 85.16 kB / 0.59 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.2384, allocations: 30.56 kB / 0.59 GB, free: 28 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/0.2384, allocations: 0 / 0.59 GB, free: 28 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007073/0.2391, allocations: 105.7 kB / 0.5901 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.2392, allocations: 51.41 kB / 0.5901 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2393, allocations: 106 kB / 0.5902 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.2394, allocations: 25.7 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.2395, allocations: 84.12 kB / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.2395, allocations: 11.84 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.2395, allocations: 0 / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2397, allocations: 318.8 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.2399, allocations: 23.98 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2401, allocations: 19.98 kB / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.2403, allocations: 23.97 kB / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2403, allocations: 0 / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003981/0.2407, allocations: 81.67 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.2407, allocations: 4 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2408, allocations: 3.828 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2408, allocations: 3.984 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.2409, allocations: 8.25 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.241, allocations: 4.031 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2411, allocations: 15.98 kB / 0.5908 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.2411, allocations: 0 / 0.5908 GB, free: 15.1 MB / 0.4981 GB 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 0.0001112/0.2412, allocations: 113.8 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.2413, allocations: 7.906 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.2418, allocations: 80.78 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2418, allocations: 3.938 kB / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.2418, allocations: 3.984 kB / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2418, allocations: 3.938 kB / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.2422, allocations: 161.6 kB / 0.5912 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.2422, allocations: 4 kB / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.2423, allocations: 16.02 kB / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2423, allocations: 0 / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.2424, allocations: 0 / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.2424, allocations: 3.984 kB / 0.5912 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2424, allocations: 0 / 0.5912 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.2428, allocations: 175.5 kB / 0.5914 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.2429, allocations: 77.11 kB / 0.5915 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.2429, allocations: 4 kB / 0.5915 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.2431, allocations: 11.98 kB / 0.5915 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.2432, allocations: 0 / 0.5915 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2432, allocations: 0 / 0.5915 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.614e-05/0.2433, allocations: 87.3 kB / 0.5916 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2433, allocations: 0 / 0.5916 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004487/0.2438, allocations: 8 kB / 0.5916 GB, free: 14.25 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 (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.0008958/0.2447, allocations: 0.7201 MB / 0.5923 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.2451, allocations: 43.95 kB / 0.5923 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2451, allocations: 4.094 kB / 0.5923 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.2453, allocations: 27.92 kB / 0.5923 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.2457, allocations: 4 kB / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.2463, allocations: 143.4 kB / 0.5925 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.2467, allocations: 0.681 MB / 0.5932 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.894e-05/0.2468, allocations: 0 / 0.5932 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.2468, allocations: 15.42 kB / 0.5932 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.2468, allocations: 0 / 0.5932 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05846/0.3053, allocations: 1.135 MB / 0.5943 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003899/0.3058, allocations: 174.6 kB / 0.5944 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/3.232, allocations: 0 / 0.5944 GB, free: 11.29 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) Environment - environmentSimulation: