Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",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.007878/0.007878, allocations: 100.6 kB / 15.73 MB, free: 5.977 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.001477/0.001477, allocations: 195.5 kB / 16.67 MB, free: 5.914 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002161/0.002161, allocations: 286.4 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9329/0.9329, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 96.17 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1682, allocations: 86.98 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002711/0.171, allocations: 1.457 MB / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004725/0.1715, allocations: 136.4 kB / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.1715, allocations: 4 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.267e-05/0.1716, allocations: 3.938 kB / 0.7675 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.1717, allocations: 11.88 kB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.172, allocations: 31.89 kB / 0.7675 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1722, allocations: 39.91 kB / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.1723, allocations: 32.16 kB / 0.7676 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.1724, allocations: 11.98 kB / 0.7676 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.1725, allocations: 27.84 kB / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1725, allocations: 4 kB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1726, allocations: 35.97 kB / 0.7677 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.1727, allocations: 8 kB / 0.7677 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1728, allocations: 19.86 kB / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.1729, allocations: 59.86 kB / 0.7677 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.173, allocations: 4 kB / 0.7677 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.312e-06/0.173, allocations: 0 / 0.7677 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.173, allocations: 7.875 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00057/0.1736, allocations: 363.3 kB / 0.7681 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.1736, allocations: 8.031 kB / 0.7681 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.663e-05/0.1737, allocations: 38.75 kB / 0.7681 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.1749, allocations: 208.5 kB / 0.7683 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.1751, allocations: 172.3 kB / 0.7685 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1751, allocations: 8.375 kB / 0.7685 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.1751, allocations: 4.375 kB / 0.7685 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.1757, allocations: 194 kB / 0.7687 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1757, allocations: 7.938 kB / 0.7687 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1757, allocations: 0 / 0.7687 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1758, allocations: 4 kB / 0.7687 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.1765, allocations: 279.5 kB / 0.769 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.1774, allocations: 441.1 kB / 0.7694 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.1785, allocations: 286.2 kB / 0.7697 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.1788, allocations: 104.7 kB / 0.7698 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1788, allocations: 0 / 0.7698 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1788, allocations: 38.56 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.1789, allocations: 0 / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.001048/0.1799, allocations: 309.3 kB / 0.7701 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.18, allocations: 51.41 kB / 0.7702 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.1801, allocations: 121.8 kB / 0.7703 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1801, allocations: 25.7 kB / 0.7703 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.1801, allocations: 92.05 kB / 0.7704 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.1802, allocations: 15.83 kB / 0.7704 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.1803, allocations: 13.72 kB / 0.7704 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1804, allocations: 334.8 kB / 0.7707 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.1807, allocations: 87.88 kB / 0.7708 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.1811, allocations: 95.88 kB / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/0.1817, allocations: 176.6 kB / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1817, allocations: 0 / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006442/0.1823, allocations: 217.6 kB / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1823, allocations: 4 kB / 0.7713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1824, allocations: 0 / 0.7713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1824, allocations: 0 / 0.7713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.1826, allocations: 39.92 kB / 0.7713 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1826, allocations: 0 / 0.7713 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1828, allocations: 39.94 kB / 0.7714 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1828, allocations: 0 / 0.7714 GB, free: 3.074 MB / 0.5606 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 (3): * Single equations (assignments): 3 * 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.394e-05/0.1829, allocations: 118.4 kB / 0.7715 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.183, allocations: 4 kB / 0.7715 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.183, allocations: 11.91 kB / 0.7715 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.183, allocations: 0 / 0.7715 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.183, allocations: 0 / 0.7715 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.183, allocations: 0 / 0.7715 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.1833, allocations: 217.4 kB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1833, allocations: 0 / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.1835, allocations: 31.94 kB / 0.7717 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1835, allocations: 4 kB / 0.7717 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1836, allocations: 0 / 0.7717 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1836, allocations: 0 / 0.7717 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1836, allocations: 0 / 0.7717 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.1843, allocations: 319.2 kB / 0.772 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.1843, allocations: 81.02 kB / 0.7721 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.086e-05/0.1844, allocations: 8 kB / 0.7721 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.1846, allocations: 27.95 kB / 0.7721 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.1847, allocations: 8 kB / 0.7722 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.1847, allocations: 3.984 kB / 0.7722 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.1847, allocations: 95.58 kB / 0.7723 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1847, allocations: 0 / 0.7723 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002303/0.185, allocations: 23.88 kB / 0.7723 GB, free: 2.043 MB / 0.5606 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 (3): * Single equations (assignments): 3 * 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.001047/0.186, allocations: 0.8334 MB / 0.7731 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007273/0.1868, allocations: 199.7 kB / 0.7733 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1868, allocations: 3.938 kB / 0.7733 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.1871, allocations: 95.88 kB / 0.7734 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.1874, allocations: 8 kB / 0.7734 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2986/0.4859, allocations: 1.826 MB / 0.7752 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.4861, allocations: 0.69 MB / 0.7758 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.647e-05/0.4862, allocations: 18.17 kB / 0.7759 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.4863, allocations: 19.98 kB / 0.7759 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.4863, allocations: 0.6562 kB / 0.7759 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.5038, allocations: 2.001 MB / 0.7778 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.645, allocations: 10 kB / 0.7778 GB, free: 13.1 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)