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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9942/0.9942, allocations: 175.7 MB / 480.1 MB, free: 3.234 MB / 366.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 72.61 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1529, allocations: 94.53 MB / 0.7601 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002391/0.1552, allocations: 1.467 MB / 0.7615 GB, free: 15.4 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0008731/0.1561, allocations: 0.5826 MB / 0.7621 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.1562, allocations: 0 / 0.7621 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.1562, allocations: 3.938 kB / 0.7621 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.1562, allocations: 7.922 kB / 0.7621 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1564, allocations: 47.83 kB / 0.7621 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.281e-05/0.1565, allocations: 27.92 kB / 0.7622 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.33e-05/0.1566, allocations: 7.938 kB / 0.7622 GB, free: 14.72 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 7.64e-05/0.1567, allocations: 23.86 kB / 0.7622 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.1567, allocations: 15.92 kB / 0.7622 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1567, allocations: 0 / 0.7622 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1568, allocations: 51.95 kB / 0.7623 GB, free: 14.63 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.1568, allocations: 7.984 kB / 0.7623 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.1569, allocations: 7.938 kB / 0.7623 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.157, allocations: 63.8 kB / 0.7623 GB, free: 14.55 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.157, allocations: 4 kB / 0.7623 GB, free: 14.55 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.122e-06/0.157, allocations: 3.938 kB / 0.7623 GB, free: 14.54 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.157, allocations: 4 kB / 0.7623 GB, free: 14.54 MB / 0.5763 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.0004148/0.1574, allocations: 352.9 kB / 0.7627 GB, free: 14.15 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1575, allocations: 12.03 kB / 0.7627 GB, free: 14.14 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.1575, allocations: 30.75 kB / 0.7627 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.875e-05/0.1575, allocations: 0.9375 kB / 0.7627 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.1577, allocations: 172.3 kB / 0.7629 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-06/0.1577, allocations: 384 / 0.7629 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1577, allocations: 384 / 0.7629 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.1578, allocations: 57.73 kB / 0.7629 GB, free: 13.83 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1578, allocations: 4 kB / 0.7629 GB, free: 13.82 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.1578, allocations: 0 / 0.7629 GB, free: 13.82 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1578, allocations: 0 / 0.7629 GB, free: 13.82 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.1579, allocations: 19.98 kB / 0.763 GB, free: 13.8 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.1582, allocations: 252.9 kB / 0.7632 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 8.439e-05/0.1583, allocations: 34.52 kB / 0.7632 GB, free: 13.46 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.1583, allocations: 16.91 kB / 0.7633 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007775/0.1591, allocations: 473.4 kB / 0.7637 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.1591, allocations: 34.55 kB / 0.7637 GB, free: 12.85 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.1591, allocations: 4 kB / 0.7637 GB, free: 12.84 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0002225/0.1594, allocations: 57.64 kB / 0.7638 GB, free: 12.78 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1594, allocations: 59.41 kB / 0.7639 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.1595, allocations: 105.8 kB / 0.764 GB, free: 12.6 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.1595, allocations: 25.7 kB / 0.764 GB, free: 12.57 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.1595, allocations: 88.12 kB / 0.7641 GB, free: 12.48 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.1596, allocations: 19.77 kB / 0.7641 GB, free: 12.46 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.1596, allocations: 13.84 kB / 0.7641 GB, free: 12.44 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.1597, allocations: 322.8 kB / 0.7644 GB, free: 12.11 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.1598, allocations: 7.984 kB / 0.7644 GB, free: 12.11 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.1598, allocations: 8 kB / 0.7644 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.216e-05/0.1599, allocations: 32.84 kB / 0.7645 GB, free: 12.06 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1599, allocations: 0 / 0.7645 GB, free: 12.06 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001184/0.16, allocations: 61.67 kB / 0.7645 GB, free: 12 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.16, allocations: 4 kB / 0.7645 GB, free: 11.99 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.16, allocations: 0 / 0.7645 GB, free: 11.99 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.16, allocations: 4 kB / 0.7645 GB, free: 11.99 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.1601, allocations: 7.938 kB / 0.7645 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1601, allocations: 0 / 0.7645 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.1601, allocations: 3.984 kB / 0.7645 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.1601, allocations: 0 / 0.7645 GB, free: 11.98 MB / 0.5763 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 7.527e-05/0.1602, allocations: 121.8 kB / 0.7646 GB, free: 11.85 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1602, allocations: 7.938 kB / 0.7647 GB, free: 11.84 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.1604, allocations: 57.2 kB / 0.7647 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1604, allocations: 4 kB / 0.7647 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1604, allocations: 0 / 0.7647 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.1604, allocations: 0 / 0.7647 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.1605, allocations: 169.6 kB / 0.7649 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1605, allocations: 0 / 0.7649 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.1606, allocations: 8 kB / 0.7649 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1606, allocations: 4.031 kB / 0.7649 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.1606, allocations: 0 / 0.7649 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1606, allocations: 3.938 kB / 0.7649 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1606, allocations: 0 / 0.7649 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.1608, allocations: 151.5 kB / 0.765 GB, free: 11.37 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.1608, allocations: 81.06 kB / 0.7651 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1608, allocations: 4 kB / 0.7651 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.576e-05/0.1609, allocations: 4.031 kB / 0.7651 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.1609, allocations: 7.984 kB / 0.7651 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1609, allocations: 0 / 0.7651 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.1609, allocations: 87.28 kB / 0.7652 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1609, allocations: 0 / 0.7652 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002205/0.1612, allocations: 19.92 kB / 0.7652 GB, free: 11.15 MB / 0.5763 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.0004828/0.1616, allocations: 0.7006 MB / 0.7659 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.1618, allocations: 23.98 kB / 0.7659 GB, free: 10.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1618, allocations: 3.938 kB / 0.7659 GB, free: 10.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/0.1618, allocations: 15.92 kB / 0.766 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.162, allocations: 4 kB / 0.766 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.1624, allocations: 168.3 kB / 0.7661 GB, free: 10.17 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.1627, allocations: 0.6768 MB / 0.7668 GB, free: 9.469 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 1.834e-05/0.1627, allocations: 4 kB / 0.7668 GB, free: 9.465 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.1627, allocations: 11.44 kB / 0.7668 GB, free: 9.453 MB / 0.5763 GB Notification: Performance of SimCode: time 3.1e-07/0.1627, allocations: 0 / 0.7668 GB, free: 9.453 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.1847, allocations: 1.595 MB / 0.7684 GB, free: 7.938 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.31, allocations: 7.688 kB / 0.7684 GB, free: 7.934 MB / 0.5763 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 --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.672398837006767]