Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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.001223/0.001223, allocations: 112.9 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.001163/0.001163, allocations: 189.9 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.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.184 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.9661/0.9661, allocations: 175.7 MB / 480.1 MB, free: 2.746 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.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 72.67 kB / 0.6678 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1579, allocations: 94.53 MB / 0.7601 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002431/0.1604, allocations: 1.464 MB / 0.7615 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003941/0.1608, allocations: 193.5 kB / 0.7617 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.1608, allocations: 0 / 0.7617 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.1608, allocations: 7.922 kB / 0.7617 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.453e-05/0.1608, allocations: 4 kB / 0.7617 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1611, allocations: 39.83 kB / 0.7617 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.34e-05/0.1611, allocations: 23.94 kB / 0.7618 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.091e-05/0.1612, allocations: 7.984 kB / 0.7618 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.1613, allocations: 4 kB / 0.7618 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.829e-05/0.1613, allocations: 15.92 kB / 0.7618 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1613, allocations: 4 kB / 0.7618 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.1614, allocations: 35.95 kB / 0.7618 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.1614, allocations: 4 kB / 0.7618 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1614, allocations: 15.86 kB / 0.7618 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.1615, allocations: 39.83 kB / 0.7619 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1615, allocations: 4 kB / 0.7619 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1615, allocations: 0 / 0.7619 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.1615, allocations: 0 / 0.7619 GB, free: 14.91 MB / 0.5762 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.0004328/0.162, allocations: 343.3 kB / 0.7622 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.162, allocations: 12.03 kB / 0.7622 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.162, allocations: 34.75 kB / 0.7623 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.1621, allocations: 4.891 kB / 0.7623 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1622, allocations: 172.4 kB / 0.7624 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.1622, allocations: 4.375 kB / 0.7624 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-06/0.1622, allocations: 384 / 0.7624 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1624, allocations: 50.23 kB / 0.7625 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1624, allocations: 3.938 kB / 0.7625 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-06/0.1624, allocations: 0 / 0.7625 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1624, allocations: 0 / 0.7625 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.1625, allocations: 35.91 kB / 0.7625 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.1628, allocations: 253 kB / 0.7628 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.163, allocations: 38.44 kB / 0.7628 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/0.163, allocations: 28.89 kB / 0.7628 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.034e-05/0.1631, allocations: 77.11 kB / 0.7629 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1632, allocations: 42.5 kB / 0.7629 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1632, allocations: 0 / 0.7629 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003285/0.1635, allocations: 77.64 kB / 0.763 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.1635, allocations: 59.34 kB / 0.7631 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.1636, allocations: 101.8 kB / 0.7632 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1636, allocations: 25.7 kB / 0.7632 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.1637, allocations: 96.22 kB / 0.7633 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.1637, allocations: 3.953 kB / 0.7633 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.1637, allocations: 9.719 kB / 0.7633 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1639, allocations: 318.8 kB / 0.7636 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.709e-05/0.1639, allocations: 15.97 kB / 0.7636 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.164, allocations: 15.98 kB / 0.7636 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1642, allocations: 44.83 kB / 0.7637 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1642, allocations: 3.938 kB / 0.7637 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.1643, allocations: 65.66 kB / 0.7637 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1644, allocations: 4 kB / 0.7637 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1644, allocations: 4 kB / 0.7637 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1644, allocations: 0 / 0.7637 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.1645, allocations: 8.016 kB / 0.7638 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1645, allocations: 4 kB / 0.7638 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.1645, allocations: 7.984 kB / 0.7638 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.1645, allocations: 256 / 0.7638 GB, free: 12.73 MB / 0.5762 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 8.423e-05/0.1646, allocations: 117.8 kB / 0.7639 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.1646, allocations: 0 / 0.7639 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.1648, allocations: 72.72 kB / 0.7639 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1648, allocations: 8.031 kB / 0.764 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.1648, allocations: 0 / 0.764 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1648, allocations: 0 / 0.764 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.165, allocations: 165.6 kB / 0.7641 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.165, allocations: 0 / 0.7641 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.1651, allocations: 8 kB / 0.7641 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1651, allocations: 3.984 kB / 0.7641 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.1651, allocations: 0 / 0.7641 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1651, allocations: 0 / 0.7641 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1651, allocations: 0 / 0.7641 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1653, allocations: 175.3 kB / 0.7643 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1654, allocations: 85.11 kB / 0.7644 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.1654, allocations: 0 / 0.7644 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.1654, allocations: 11.92 kB / 0.7644 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.1655, allocations: 3.938 kB / 0.7644 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1655, allocations: 4.031 kB / 0.7644 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.1655, allocations: 79.28 kB / 0.7645 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1655, allocations: 0 / 0.7645 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002101/0.1657, allocations: 19.94 kB / 0.7645 GB, free: 11.89 MB / 0.5762 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.00057/0.1663, allocations: 0.7007 MB / 0.7652 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1665, allocations: 39.91 kB / 0.7652 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1665, allocations: 0 / 0.7652 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.1666, allocations: 23.97 kB / 0.7652 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1668, allocations: 1.875 kB / 0.7652 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.1672, allocations: 147.2 kB / 0.7654 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1675, allocations: 0.6768 MB / 0.766 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.738e-05/0.1675, allocations: 0 / 0.766 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.1676, allocations: 15.44 kB / 0.766 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1676, allocations: 0 / 0.766 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.1908, allocations: 1.425 MB / 0.7674 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.257, allocations: 10.19 kB / 0.7674 GB, free: 8.84 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.608619648002787]