Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.001782/0.001782, allocations: 108.4 kB / 16.41 MB, free: 6.504 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.001851/0.001851, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7934/0.7934, allocations: 125.4 MB / 416.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 65.03 kB / 0.5716 GB, free: 27.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1215, allocations: 78.57 MB / 0.6484 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002724/0.1243, allocations: 1.758 MB / 0.6501 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1253, allocations: 0.667 MB / 0.6507 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.1254, allocations: 4 kB / 0.6507 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.1254, allocations: 7.875 kB / 0.6508 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.1255, allocations: 15.8 kB / 0.6508 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.126, allocations: 170.4 kB / 0.6509 GB, free: 3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1261, allocations: 127.5 kB / 0.6511 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1263, allocations: 49.09 kB / 0.6511 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1264, allocations: 63.83 kB / 0.6512 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.1265, allocations: 51.75 kB / 0.6512 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.1265, allocations: 12 kB / 0.6512 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1266, allocations: 43.97 kB / 0.6513 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.1267, allocations: 27.91 kB / 0.6513 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.1267, allocations: 59.72 kB / 0.6513 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1269, allocations: 147.6 kB / 0.6515 GB, free: 2.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1269, allocations: 3.938 kB / 0.6515 GB, free: 2.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1269, allocations: 0 / 0.6515 GB, free: 2.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.127, allocations: 0 / 0.6515 GB, free: 2.426 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005678/0.1275, allocations: 440.7 kB / 0.6519 GB, free: 1.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1276, allocations: 12.03 kB / 0.6519 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.1276, allocations: 42.69 kB / 0.652 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007863/0.1284, allocations: 112.7 kB / 0.6521 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1286, allocations: 188.2 kB / 0.6523 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-05/0.1287, allocations: 63.97 kB / 0.6523 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.1287, allocations: 12.31 kB / 0.6523 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.1292, allocations: 175.3 kB / 0.6525 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1292, allocations: 0 / 0.6525 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1292, allocations: 8 kB / 0.6525 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1292, allocations: 0 / 0.6525 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.1299, allocations: 159.8 kB / 0.6527 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.131, allocations: 493.4 kB / 0.6531 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.132, allocations: 210.3 kB / 0.6533 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.1323, allocations: 84.91 kB / 0.6534 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1323, allocations: 0 / 0.6534 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1324, allocations: 38.5 kB / 0.6534 GB, free: 256 kB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.1324, allocations: 0 / 0.6534 GB, free: 256 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001027/0.1334, allocations: 261.3 kB / 0.6537 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.1335, allocations: 59.41 kB / 0.6537 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1336, allocations: 135.5 kB / 0.6539 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1336, allocations: 25.7 kB / 0.6539 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.1337, allocations: 120.2 kB / 0.654 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.1337, allocations: 15.89 kB / 0.654 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.1338, allocations: 21.7 kB / 0.654 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1339, allocations: 318.8 kB / 0.6544 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.1342, allocations: 75.91 kB / 0.6544 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.1346, allocations: 98.44 kB / 0.6545 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.1352, allocations: 166.7 kB / 0.6547 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1352, allocations: 0 / 0.6547 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006828/0.1359, allocations: 205.4 kB / 0.6549 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.136, allocations: 4 kB / 0.6549 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.136, allocations: 7.938 kB / 0.6549 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.136, allocations: 0 / 0.6549 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.1362, allocations: 47.88 kB / 0.6549 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1363, allocations: 0 / 0.6549 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.1365, allocations: 27.84 kB / 0.655 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1365, allocations: 4 kB / 0.655 GB, free: 14.61 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 9.13e-05/0.1366, allocations: 121.8 kB / 0.6551 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.992e-05/0.1366, allocations: 7.953 kB / 0.6551 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/0.1373, allocations: 210.1 kB / 0.6553 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1374, allocations: 3.984 kB / 0.6553 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1374, allocations: 4 kB / 0.6553 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1374, allocations: 0 / 0.6553 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.1376, allocations: 238.3 kB / 0.6555 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1376, allocations: 0 / 0.6555 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.1379, allocations: 31.95 kB / 0.6556 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1379, allocations: 0 / 0.6556 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1379, allocations: 3.938 kB / 0.6556 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1379, allocations: 4 kB / 0.6556 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1379, allocations: 0 / 0.6556 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.1386, allocations: 283.5 kB / 0.6558 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.1387, allocations: 89.12 kB / 0.6559 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.1387, allocations: 7.938 kB / 0.6559 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.139, allocations: 27.95 kB / 0.6559 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.139, allocations: 11.92 kB / 0.656 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.1391, allocations: 11.98 kB / 0.656 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.787e-05/0.1391, allocations: 105.2 kB / 0.6561 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1391, allocations: 0 / 0.6561 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002481/0.1394, allocations: 27.89 kB / 0.6561 GB, free: 13.34 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 (6): * Single equations (assignments): 6 * 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.001045/0.1404, allocations: 0.8216 MB / 0.6569 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006503/0.1411, allocations: 159.8 kB / 0.6571 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1411, allocations: 0 / 0.6571 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.1414, allocations: 84.03 kB / 0.6571 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1417, allocations: 11.94 kB / 0.6571 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.1448, allocations: 1.828 MB / 0.6589 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1451, allocations: 0.7002 MB / 0.6596 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.333e-05/0.1452, allocations: 15.98 kB / 0.6596 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.1452, allocations: 27.42 kB / 0.6597 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1453, allocations: 7.938 kB / 0.6597 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3874/0.5326, allocations: 2.753 MB / 0.6624 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.55, allocations: 15.05 kB / 0.6624 GB, free: 6.859 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)