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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 193.1 kB / 16.67 MB, free: 6.574 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9057/0.9057, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 64.05 kB / 0.5857 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3419, allocations: 81.03 MB / 0.6649 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001918/0.3439, allocations: 1.444 MB / 0.6663 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006564/0.3446, allocations: 0.5607 MB / 0.6668 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.3446, allocations: 0 / 0.6668 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.3446, allocations: 3.938 kB / 0.6668 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.3447, allocations: 9 kB / 0.6668 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.3449, allocations: 51.3 kB / 0.6669 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.766e-05/0.345, allocations: 27.55 kB / 0.6669 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.668e-05/0.3451, allocations: 11.95 kB / 0.6669 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.3452, allocations: 17.3 kB / 0.6669 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.3452, allocations: 19.14 kB / 0.667 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.3452, allocations: 6.844 kB / 0.667 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.3453, allocations: 54.73 kB / 0.667 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.3453, allocations: 3.984 kB / 0.667 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.3454, allocations: 11.62 kB / 0.667 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3455, allocations: 62.67 kB / 0.6671 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3455, allocations: 0 / 0.6671 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3455, allocations: 5.344 kB / 0.6671 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.3455, allocations: 0 / 0.6671 GB, free: 5.258 MB / 0.4981 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.0002909/0.3458, allocations: 353.6 kB / 0.6674 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3458, allocations: 8.688 kB / 0.6674 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2e-05/0.3459, allocations: 32.12 kB / 0.6675 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.3459, allocations: 6.297 kB / 0.6675 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.112e-05/0.346, allocations: 178.9 kB / 0.6677 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-06/0.346, allocations: 384 / 0.6677 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.346, allocations: 1.688 kB / 0.6677 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3461, allocations: 49.91 kB / 0.6677 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3461, allocations: 0 / 0.6677 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.3461, allocations: 5.688 kB / 0.6677 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3461, allocations: 0 / 0.6677 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.3462, allocations: 20.05 kB / 0.6677 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.3464, allocations: 251 kB / 0.668 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.462e-05/0.3465, allocations: 31.48 kB / 0.668 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.3466, allocations: 18.59 kB / 0.668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006117/0.3472, allocations: 472.5 kB / 0.6685 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.3472, allocations: 39.62 kB / 0.6685 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3472, allocations: 0 / 0.6685 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001959/0.3474, allocations: 63.77 kB / 0.6686 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.635e-05/0.3474, allocations: 51.41 kB / 0.6686 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.999e-05/0.3475, allocations: 108.2 kB / 0.6687 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.3475, allocations: 31.17 kB / 0.6687 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.3475, allocations: 81.48 kB / 0.6688 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.3475, allocations: 8.078 kB / 0.6688 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.3476, allocations: 16.25 kB / 0.6688 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.343e-05/0.3476, allocations: 321 kB / 0.6692 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.3476, allocations: 9.094 kB / 0.6692 GB, free: 3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.3477, allocations: 13.45 kB / 0.6692 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.543e-05/0.3478, allocations: 25.88 kB / 0.6692 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3478, allocations: 64 / 0.6692 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.722e-05/0.3479, allocations: 66.8 kB / 0.6693 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3479, allocations: 5.094 kB / 0.6693 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3479, allocations: 0 / 0.6693 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3479, allocations: 5.25 kB / 0.6693 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.348, allocations: 8.547 kB / 0.6693 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.348, allocations: 4.062 kB / 0.6693 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.348, allocations: 5.438 kB / 0.6693 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.348, allocations: 1.438 kB / 0.6693 GB, free: 2.906 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.3481, allocations: 115.2 kB / 0.6694 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.3481, allocations: 6.094 kB / 0.6694 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.3482, allocations: 62.14 kB / 0.6695 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3482, allocations: 0 / 0.6695 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3482, allocations: 0 / 0.6695 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.3483, allocations: 1.312 kB / 0.6695 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.3484, allocations: 167.5 kB / 0.6696 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3484, allocations: 0 / 0.6696 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.3484, allocations: 8.312 kB / 0.6696 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3484, allocations: 1.594 kB / 0.6696 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.3484, allocations: 0 / 0.6696 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3484, allocations: 3.984 kB / 0.6696 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3484, allocations: 1.438 kB / 0.6696 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.3485, allocations: 157.1 kB / 0.6698 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.3486, allocations: 77.11 kB / 0.6699 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.3486, allocations: 9.141 kB / 0.6699 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/0.3486, allocations: 6.734 kB / 0.6699 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.3487, allocations: 0 / 0.6699 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3487, allocations: 1.406 kB / 0.6699 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.38e-05/0.3487, allocations: 89.8 kB / 0.67 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3487, allocations: 0 / 0.67 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002155/0.3489, allocations: 15.56 kB / 0.67 GB, free: 2.172 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 (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.0002789/0.3492, allocations: 0.7028 MB / 0.6707 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.3493, allocations: 27.33 kB / 0.6707 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3494, allocations: 0 / 0.6707 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.3494, allocations: 12.11 kB / 0.6707 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.3496, allocations: 3.094 kB / 0.6707 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.3499, allocations: 168.3 kB / 0.6709 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.719e-05/0.35, allocations: 0.6831 MB / 0.6715 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.947e-05/0.35, allocations: 1.438 kB / 0.6715 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.3501, allocations: 12.88 kB / 0.6715 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3501, allocations: 0 / 0.6715 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.921/3.271, allocations: 1.611 MB / 0.6731 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/13.92, allocations: 15.17 kB / 0.6731 GB, free: 15.65 MB / 0.5137 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)