Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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.001788/0.001788, allocations: 103.4 kB / 16.4 MB, free: 6.512 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.002058/0.002058, allocations: 192 kB / 17.34 MB, free: 5.734 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8451/0.8451, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 65.08 kB / 0.5735 GB, free: 27.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1761, allocations: 78.86 MB / 0.6505 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003425/0.1796, allocations: 1.431 MB / 0.6519 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000962/0.1806, allocations: 481.5 kB / 0.6524 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.1806, allocations: 4 kB / 0.6524 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.1807, allocations: 0 / 0.6524 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.1808, allocations: 7.922 kB / 0.6524 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.181, allocations: 23.92 kB / 0.6524 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.621e-05/0.1811, allocations: 23.92 kB / 0.6525 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1812, allocations: 7.984 kB / 0.6525 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.41e-05/0.1813, allocations: 8 kB / 0.6525 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.1814, allocations: 15.92 kB / 0.6525 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1814, allocations: 0 / 0.6525 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.35e-05/0.1815, allocations: 31.97 kB / 0.6525 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.1815, allocations: 3.938 kB / 0.6525 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.1815, allocations: 11.92 kB / 0.6525 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1817, allocations: 40.06 kB / 0.6526 GB, free: 1.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1817, allocations: 0 / 0.6526 GB, free: 1.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1817, allocations: 0 / 0.6526 GB, free: 1.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1817, allocations: 0 / 0.6526 GB, free: 1.5 MB / 494.1 MB 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.0005123/0.1822, allocations: 347.4 kB / 0.6529 GB, free: 1.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1823, allocations: 8.031 kB / 0.6529 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.1823, allocations: 30.75 kB / 0.6529 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.1824, allocations: 0.9375 kB / 0.6529 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1826, allocations: 176.3 kB / 0.6531 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1826, allocations: 384 / 0.6531 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.1826, allocations: 384 / 0.6531 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.1828, allocations: 53.8 kB / 0.6532 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1828, allocations: 3.938 kB / 0.6532 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1828, allocations: 4 kB / 0.6532 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1828, allocations: 7.938 kB / 0.6532 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.183, allocations: 27.97 kB / 0.6532 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.1835, allocations: 256.9 kB / 0.6535 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1836, allocations: 38.56 kB / 0.6535 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.444e-05/0.1837, allocations: 20.91 kB / 0.6535 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.1839, allocations: 85.09 kB / 0.6536 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1839, allocations: 38.5 kB / 0.6536 GB, free: 240 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.184, allocations: 0 / 0.6536 GB, free: 240 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003986/0.1844, allocations: 77.77 kB / 0.6537 GB, free: 156 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.1844, allocations: 55.41 kB / 0.6538 GB, free: 88 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1845, allocations: 109.8 kB / 0.6539 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1846, allocations: 25.7 kB / 0.6539 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.1846, allocations: 84.14 kB / 0.654 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1847, allocations: 7.953 kB / 0.654 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1847, allocations: 9.719 kB / 0.654 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1849, allocations: 322.8 kB / 0.6543 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/0.185, allocations: 19.98 kB / 0.6543 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.162e-05/0.1851, allocations: 19.92 kB / 0.6543 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.1852, allocations: 36.83 kB / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1852, allocations: 0 / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002177/0.1855, allocations: 73.67 kB / 0.6544 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1855, allocations: 4 kB / 0.6544 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1855, allocations: 0 / 0.6544 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1855, allocations: 0 / 0.6544 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.1856, allocations: 11.98 kB / 0.6544 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1856, allocations: 3.984 kB / 0.6544 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.1857, allocations: 11.92 kB / 0.6545 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1857, allocations: 4 kB / 0.6545 GB, free: 15.31 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 8.987e-05/0.1858, allocations: 125.7 kB / 0.6546 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.1858, allocations: 0 / 0.6546 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.1861, allocations: 68.78 kB / 0.6547 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1861, allocations: 4 kB / 0.6547 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1861, allocations: 0 / 0.6547 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1861, allocations: 0 / 0.6547 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.1863, allocations: 161.6 kB / 0.6548 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1863, allocations: 3.938 kB / 0.6548 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.1864, allocations: 16.02 kB / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1864, allocations: 0 / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1864, allocations: 0 / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1864, allocations: 0 / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1864, allocations: 0 / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1867, allocations: 171.3 kB / 0.655 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.1867, allocations: 81.14 kB / 0.6551 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1867, allocations: 4 kB / 0.6551 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.1868, allocations: 4.234 kB / 0.6551 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.1869, allocations: 4 kB / 0.6551 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1869, allocations: 4 kB / 0.6551 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.1869, allocations: 83.28 kB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1869, allocations: 0 / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002261/0.1872, allocations: 8 kB / 0.6552 GB, free: 14.49 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.0006989/0.1879, allocations: 0.7006 MB / 0.6559 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1881, allocations: 35.97 kB / 0.6559 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1881, allocations: 4.094 kB / 0.6559 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1882, allocations: 23.97 kB / 0.6559 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.1886, allocations: 0 / 0.6559 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.189, allocations: 131.2 kB / 0.656 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1893, allocations: 0.6768 MB / 0.6567 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.1893, allocations: 7.938 kB / 0.6567 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.1894, allocations: 15.5 kB / 0.6567 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1894, allocations: 0 / 0.6567 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.2131, allocations: 1.421 MB / 0.6581 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/8.272, allocations: 8.578 kB / 0.6581 GB, free: 11.45 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)