Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007358/0.0007358, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007749/0.0007749, allocations: 208.1 kB / 22.25 MB, free: 3.574 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9146/0.9146, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7933/0.7933, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009702/0.0009702, allocations: 66.95 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4919, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001848/0.4938, allocations: 1.476 MB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007921/0.4946, allocations: 0.5797 MB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.4946, allocations: 3.938 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.4946, allocations: 4.828 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.4947, allocations: 6.562 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.495, allocations: 61.44 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.772e-05/0.4951, allocations: 36.3 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.4952, allocations: 4.453 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.4953, allocations: 25.92 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.4953, allocations: 8.781 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.4953, allocations: 2.031 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.4954, allocations: 54.84 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.4954, allocations: 11.89 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.4955, allocations: 7.984 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.4956, allocations: 66.98 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4956, allocations: 0 / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4956, allocations: 3.938 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.4956, allocations: 4 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB 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.0003608/0.496, allocations: 286.1 kB / 0.8204 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.496, allocations: 9.531 kB / 0.8204 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.496, allocations: 31.31 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007891/0.5039, allocations: 2.44 MB / 0.8228 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.5042, allocations: 148.2 kB / 0.8229 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.5042, allocations: 1.125 kB / 0.8229 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.5042, allocations: 2.719 kB / 0.8229 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.5072, allocations: 1.019 MB / 0.8239 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.5072, allocations: 0 / 0.8239 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.5072, allocations: 1.875 kB / 0.8239 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5072, allocations: 0 / 0.8239 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005242/0.5125, allocations: 1.862 MB / 0.8258 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003475/0.5159, allocations: 1.42 MB / 0.8271 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00514/0.5211, allocations: 1.87 MB / 0.829 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002582/0.5237, allocations: 0.9418 MB / 0.8299 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.5237, allocations: 0.5938 kB / 0.8299 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.5237, allocations: 32.39 kB / 0.8299 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.5237, allocations: 1.062 kB / 0.8299 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.007585/0.5313, allocations: 2.746 MB / 0.8326 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.5313, allocations: 53.22 kB / 0.8326 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.09e-05/0.5314, allocations: 112.1 kB / 0.8328 GB, free: 12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.5314, allocations: 25.7 kB / 0.8328 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.5315, allocations: 86.23 kB / 0.8329 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.5315, allocations: 16.97 kB / 0.8329 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.5316, allocations: 31.06 kB / 0.8329 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.5317, allocations: 316.2 kB / 0.8332 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002546/0.5342, allocations: 0.9287 MB / 0.8341 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.5367, allocations: 0.9336 MB / 0.835 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004534/0.5413, allocations: 1.683 MB / 0.8367 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5413, allocations: 0 / 0.8367 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0048/0.5461, allocations: 1.817 MB / 0.8384 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5461, allocations: 7 kB / 0.8385 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5461, allocations: 0 / 0.8385 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5461, allocations: 1.156 kB / 0.8385 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.5476, allocations: 465.4 kB / 0.8389 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5476, allocations: 0.9375 kB / 0.8389 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.5489, allocations: 452.9 kB / 0.8393 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.5489, allocations: 10.17 kB / 0.8393 GB, free: 8.883 MB / 0.6198 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.549, allocations: 112.5 kB / 0.8394 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.549, allocations: 1.5 kB / 0.8395 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.5491, allocations: 14.28 kB / 0.8395 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.5491, allocations: 1.25 kB / 0.8395 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5491, allocations: 0 / 0.8395 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5491, allocations: 5.188 kB / 0.8395 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.5494, allocations: 268.6 kB / 0.8397 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5494, allocations: 0 / 0.8397 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.5507, allocations: 470.3 kB / 0.8402 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5507, allocations: 0 / 0.8402 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.5508, allocations: 9.25 kB / 0.8402 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5508, allocations: 1.406 kB / 0.8402 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.5508, allocations: 8 kB / 0.8402 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004844/0.5556, allocations: 1.909 MB / 0.8421 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.5556, allocations: 1.562 kB / 0.8421 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.5557, allocations: 5.344 kB / 0.8421 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.557, allocations: 448.5 kB / 0.8425 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.557, allocations: 5.5 kB / 0.8425 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.5571, allocations: 6.609 kB / 0.8425 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.367e-05/0.5571, allocations: 97.8 kB / 0.8426 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5571, allocations: 3.938 kB / 0.8426 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002134/0.5573, allocations: 36.19 kB / 0.8426 GB, free: 7.117 MB / 0.6198 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 (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.005422/0.5627, allocations: 2.44 MB / 0.845 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00502/0.5678, allocations: 1.874 MB / 0.8468 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5678, allocations: 0 / 0.8468 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00249/0.5702, allocations: 0.94 MB / 0.8478 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.5704, allocations: 1.156 kB / 0.8478 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.586, allocations: 6.801 MB / 0.8544 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.7e-05/0.586, allocations: 63.34 kB / 0.8545 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.5862, allocations: 36.03 kB / 0.8545 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.5863, allocations: 23.41 kB / 0.8545 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of SimCode: time 1.463e-06/0.5863, allocations: 0 / 0.8545 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.6068, allocations: 4.193 MB / 0.8586 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/7.273, allocations: 7.844 kB / 0.8586 GB, free: 11.57 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.133727843407542] Failed to read output from testmodel.py, exit status != 0: 7.353864659555256 7.361893101 6.864619912 Calling exit ...