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.006622/0.006622, allocations: 96.19 kB / 15.87 MB, free: 6.242 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.00137/0.00137, allocations: 207.3 kB / 16.79 MB, free: 6.168 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.281/1.281, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6645/0.6645, allocations: 115.3 MB / 405.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 70.11 kB / 493 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1387, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002938/0.1417, allocations: 1.496 MB / 0.5573 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007737/0.1425, allocations: 467.8 kB / 0.5578 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.1425, allocations: 0 / 0.5578 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.1426, allocations: 0 / 0.5578 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.223e-05/0.1427, allocations: 3.938 kB / 0.5578 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.1428, allocations: 15.98 kB / 0.5578 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.1429, allocations: 31.86 kB / 0.5578 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.143, allocations: 4 kB / 0.5578 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.1431, allocations: 8 kB / 0.5578 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.256e-05/0.1431, allocations: 15.92 kB / 0.5578 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.1431, allocations: 0 / 0.5578 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.1432, allocations: 23.91 kB / 0.5578 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.1432, allocations: 3.984 kB / 0.5579 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.1433, allocations: 11.94 kB / 0.5579 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.157e-05/0.1434, allocations: 27.91 kB / 0.5579 GB, free: 8.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1434, allocations: 0 / 0.5579 GB, free: 8.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1434, allocations: 4 kB / 0.5579 GB, free: 8.605 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1434, allocations: 0 / 0.5579 GB, free: 8.605 MB / 430.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.0004101/0.1438, allocations: 343.7 kB / 0.5582 GB, free: 8.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1439, allocations: 8.031 kB / 0.5582 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.1439, allocations: 42.73 kB / 0.5583 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.1439, allocations: 0.9375 kB / 0.5583 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.912e-05/0.144, allocations: 168.3 kB / 0.5584 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.144, allocations: 4.375 kB / 0.5584 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.1441, allocations: 4.375 kB / 0.5584 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1442, allocations: 57.73 kB / 0.5585 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.1443, allocations: 0 / 0.5585 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1443, allocations: 3.938 kB / 0.5585 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1443, allocations: 0 / 0.5585 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.1445, allocations: 35.95 kB / 0.5585 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.1448, allocations: 248.9 kB / 0.5588 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.1449, allocations: 38.5 kB / 0.5588 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.145, allocations: 32.89 kB / 0.5588 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.1451, allocations: 81.11 kB / 0.5589 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.1452, allocations: 30.56 kB / 0.5589 GB, free: 7.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1452, allocations: 4 kB / 0.5589 GB, free: 7.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003334/0.1455, allocations: 81.64 kB / 0.559 GB, free: 7.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.1456, allocations: 51.41 kB / 0.5591 GB, free: 7.188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.1456, allocations: 101.8 kB / 0.5592 GB, free: 7.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1457, allocations: 29.7 kB / 0.5592 GB, free: 7.043 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.1457, allocations: 84.14 kB / 0.5593 GB, free: 6.957 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.1457, allocations: 15.91 kB / 0.5593 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1458, allocations: 17.66 kB / 0.5593 GB, free: 6.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1459, allocations: 322.8 kB / 0.5596 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.032e-05/0.146, allocations: 11.98 kB / 0.5596 GB, free: 6.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.146, allocations: 19.98 kB / 0.5597 GB, free: 6.562 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1462, allocations: 40.88 kB / 0.5597 GB, free: 6.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1462, allocations: 0 / 0.5597 GB, free: 6.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.1464, allocations: 61.67 kB / 0.5597 GB, free: 6.453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1464, allocations: 8 kB / 0.5598 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1464, allocations: 0 / 0.5598 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1465, allocations: 0 / 0.5598 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.1465, allocations: 7.984 kB / 0.5598 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1466, allocations: 3.938 kB / 0.5598 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.1466, allocations: 19.91 kB / 0.5598 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1466, allocations: 4 kB / 0.5598 GB, free: 6.41 MB / 430.1 MB 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 6.363e-05/0.1467, allocations: 113.8 kB / 0.5599 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1467, allocations: 0 / 0.5599 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.1469, allocations: 68.78 kB / 0.56 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.147, allocations: 0 / 0.56 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.147, allocations: 4.031 kB / 0.56 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.147, allocations: 3.984 kB / 0.56 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.1471, allocations: 165.6 kB / 0.5601 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1471, allocations: 0 / 0.5601 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.1472, allocations: 7.984 kB / 0.5601 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1472, allocations: 0 / 0.5601 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1472, allocations: 0 / 0.5601 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1472, allocations: 4 kB / 0.5601 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1472, allocations: 4.188 kB / 0.5601 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1475, allocations: 167.4 kB / 0.5603 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.1475, allocations: 77.11 kB / 0.5604 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1475, allocations: 8 kB / 0.5604 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.1476, allocations: 7.984 kB / 0.5604 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.1477, allocations: 0 / 0.5604 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1477, allocations: 4 kB / 0.5604 GB, free: 5.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.601e-05/0.1477, allocations: 87.3 kB / 0.5605 GB, free: 5.605 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.1477, allocations: 0 / 0.5605 GB, free: 5.605 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.1479, allocations: 11.84 kB / 0.5605 GB, free: 5.594 MB / 430.1 MB 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.000512/0.1485, allocations: 0.7085 MB / 0.5612 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1487, allocations: 35.95 kB / 0.5612 GB, free: 4.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1487, allocations: 0 / 0.5612 GB, free: 4.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/0.1488, allocations: 15.98 kB / 0.5612 GB, free: 4.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.1491, allocations: 8 kB / 0.5612 GB, free: 4.797 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.1494, allocations: 145 kB / 0.5614 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1497, allocations: 0.677 MB / 0.562 GB, free: 3.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.436e-05/0.1497, allocations: 0 / 0.562 GB, free: 3.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.1497, allocations: 7.438 kB / 0.562 GB, free: 3.906 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1497, allocations: 0 / 0.562 GB, free: 3.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1773/0.3271, allocations: 1.222 MB / 0.5632 GB, free: 2.77 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.3273, allocations: 196.7 kB / 0.5634 GB, free: 2.512 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/2.637, allocations: 0 / 0.5634 GB, free: 2.512 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)