Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_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.00141/0.00141, allocations: 99.7 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.001565/0.001565, allocations: 177.3 kB / 15.95 MB, free: 216 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/2, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.44/1.44, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005333/0.0005334, allocations: 8.875 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2313, allocations: 82.31 MB / 0.5873 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003132/0.2345, allocations: 1.442 MB / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.2363, allocations: 0.5835 MB / 0.5893 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.2364, allocations: 0 / 0.5893 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.673e-05/0.2364, allocations: 7.922 kB / 0.5893 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2366, allocations: 23.91 kB / 0.5893 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009341/0.2375, allocations: 144.7 kB / 0.5894 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.2378, allocations: 71.84 kB / 0.5895 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.238, allocations: 49.25 kB / 0.5895 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.2381, allocations: 47.84 kB / 0.5896 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.2383, allocations: 31.78 kB / 0.5896 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.2383, allocations: 4 kB / 0.5896 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.2385, allocations: 43.89 kB / 0.5897 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.2385, allocations: 27.91 kB / 0.5897 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.2386, allocations: 37.64 kB / 0.5897 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.2388, allocations: 96.05 kB / 0.5898 GB, free: 424 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.2388, allocations: 0 / 0.5898 GB, free: 424 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2388, allocations: 0 / 0.5898 GB, free: 424 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.2388, allocations: 0 / 0.5898 GB, free: 424 kB / 494.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.0007554/0.2396, allocations: 415 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.2397, allocations: 8.031 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.2398, allocations: 46.55 kB / 0.5903 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.2412, allocations: 143.6 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.2414, allocations: 188.6 kB / 0.5906 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.2416, allocations: 71.39 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.2417, allocations: 8 kB / 0.5907 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008794/0.2425, allocations: 189.5 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2426, allocations: 0 / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.2426, allocations: 0 / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.2426, allocations: 4 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.2437, allocations: 191.8 kB / 0.591 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.2457, allocations: 0.494 MB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.2476, allocations: 274.2 kB / 0.5918 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.2477, allocations: 7.984 kB / 0.5918 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.2478, allocations: 38.67 kB / 0.5918 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 4.328e-06/0.2478, allocations: 0 / 0.5918 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.002018/0.2498, allocations: 309.5 kB / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.2499, allocations: 59.34 kB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.2501, allocations: 135.9 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.2502, allocations: 29.7 kB / 0.5923 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2503, allocations: 112.1 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.2504, allocations: 19.75 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.2504, allocations: 0 / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2506, allocations: 322.8 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006403/0.2512, allocations: 95.92 kB / 0.5928 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/0.2519, allocations: 110.5 kB / 0.5929 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006221/0.2526, allocations: 87.94 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2526, allocations: 0 / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001226/0.2538, allocations: 241.4 kB / 0.5933 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.2539, allocations: 4 kB / 0.5933 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2539, allocations: 0 / 0.5933 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2539, allocations: 0 / 0.5933 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.2543, allocations: 47.95 kB / 0.5933 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2544, allocations: 7.922 kB / 0.5933 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.2547, allocations: 31.88 kB / 0.5934 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.2548, allocations: 12 kB / 0.5934 GB, free: 12.53 MB / 0.4981 GB 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.000167/0.2549, allocations: 117.8 kB / 0.5935 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.255, allocations: 7.906 kB / 0.5935 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.2563, allocations: 246.2 kB / 0.5937 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.2563, allocations: 4.375 kB / 0.5937 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2563, allocations: 0 / 0.5937 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2563, allocations: 0 / 0.5937 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.2568, allocations: 242.1 kB / 0.594 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.2568, allocations: 0 / 0.594 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.2572, allocations: 51.89 kB / 0.594 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.2572, allocations: 3.984 kB / 0.594 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.2572, allocations: 0 / 0.594 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2572, allocations: 0 / 0.594 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2573, allocations: 0 / 0.594 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.2584, allocations: 327.2 kB / 0.5943 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.2585, allocations: 85.02 kB / 0.5944 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.2586, allocations: 0 / 0.5944 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/0.2591, allocations: 47.95 kB / 0.5944 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.2592, allocations: 7.984 kB / 0.5945 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.2592, allocations: 11.92 kB / 0.5945 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001131/0.2594, allocations: 103.2 kB / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2594, allocations: 0 / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005358/0.2599, allocations: 23.91 kB / 0.5946 GB, free: 11.18 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 (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.001775/0.2617, allocations: 0.849 MB / 0.5954 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.263, allocations: 203.8 kB / 0.5956 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.263, allocations: 0 / 0.5956 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.2637, allocations: 104 kB / 0.5957 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.2641, allocations: 6.25 kB / 0.5957 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2658, allocations: 0.811 MB / 0.5965 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.2662, allocations: 0.706 MB / 0.5972 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.2664, allocations: 16.19 kB / 0.5972 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.2666, allocations: 31.42 kB / 0.5972 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.2666, allocations: 4 kB / 0.5972 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08674/0.3533, allocations: 2.379 MB / 0.5996 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003396/0.3537, allocations: 164.1 kB / 0.5997 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.008/3.361, allocations: 64 / 0.5997 GB, free: 5.871 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: