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.0007111/0.0007112, allocations: 92.94 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007386/0.0007384, allocations: 171 kB / 16.58 MB, free: 5.633 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.172/1.172, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5999/0.5999, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002681, allocations: 12 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1197, allocations: 77.11 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001515/0.1213, allocations: 1.443 MB / 0.5583 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008113/0.1221, allocations: 0.6013 MB / 0.5589 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.1221, allocations: 4 kB / 0.5589 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1222, allocations: 11.86 kB / 0.5589 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.1222, allocations: 11.86 kB / 0.5589 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.1227, allocations: 151 kB / 0.5591 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1228, allocations: 107.7 kB / 0.5592 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1229, allocations: 41.16 kB / 0.5592 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.123, allocations: 51.84 kB / 0.5593 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.1231, allocations: 31.84 kB / 0.5593 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1231, allocations: 4 kB / 0.5593 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.1232, allocations: 39.95 kB / 0.5593 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.1232, allocations: 23.91 kB / 0.5593 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.1232, allocations: 37.64 kB / 0.5594 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.1234, allocations: 100 kB / 0.5595 GB, free: 8.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1234, allocations: 0 / 0.5595 GB, free: 8.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1234, allocations: 4 kB / 0.5595 GB, free: 8.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1234, allocations: 0 / 0.5595 GB, free: 8.984 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004517/0.1239, allocations: 411 kB / 0.5599 GB, free: 8.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1239, allocations: 8.031 kB / 0.5599 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.1239, allocations: 42.55 kB / 0.5599 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/0.1246, allocations: 151.6 kB / 0.5601 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1247, allocations: 178.9 kB / 0.5602 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.1248, allocations: 67.36 kB / 0.5603 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1249, allocations: 4 kB / 0.5603 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.1253, allocations: 193.4 kB / 0.5605 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1253, allocations: 0 / 0.5605 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1253, allocations: 4 kB / 0.5605 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1254, allocations: 4 kB / 0.5605 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/0.1259, allocations: 199.8 kB / 0.5607 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.1268, allocations: 0.5056 MB / 0.5612 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/0.1276, allocations: 266.3 kB / 0.5614 GB, free: 6.805 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.1279, allocations: 96.91 kB / 0.5615 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1279, allocations: 11.98 kB / 0.5615 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.1279, allocations: 38.52 kB / 0.5616 GB, free: 6.648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1279, allocations: 0 / 0.5616 GB, free: 6.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008469/0.1288, allocations: 313.5 kB / 0.5619 GB, free: 6.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1288, allocations: 51.41 kB / 0.5619 GB, free: 6.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/0.1289, allocations: 135.7 kB / 0.5621 GB, free: 6.133 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.129, allocations: 29.7 kB / 0.5621 GB, free: 6.098 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.129, allocations: 112.2 kB / 0.5622 GB, free: 5.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.129, allocations: 23.66 kB / 0.5622 GB, free: 5.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.1291, allocations: 0 / 0.5622 GB, free: 5.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.1291, allocations: 322.8 kB / 0.5625 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.1294, allocations: 91.92 kB / 0.5626 GB, free: 5.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.1297, allocations: 114.5 kB / 0.5627 GB, free: 5.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.1299, allocations: 87.94 kB / 0.5628 GB, free: 5.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1299, allocations: 7.984 kB / 0.5628 GB, free: 5.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005594/0.1305, allocations: 237.3 kB / 0.563 GB, free: 5.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1305, allocations: 8 kB / 0.563 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1305, allocations: 3.984 kB / 0.563 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1306, allocations: 0 / 0.563 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.1308, allocations: 43.95 kB / 0.5631 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1308, allocations: 0 / 0.5631 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.131, allocations: 39.88 kB / 0.5631 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.131, allocations: 4 kB / 0.5631 GB, free: 4.992 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.692e-05/0.1311, allocations: 117.8 kB / 0.5632 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.1311, allocations: 11.86 kB / 0.5633 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00061/0.1317, allocations: 242.5 kB / 0.5635 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1317, allocations: 4 kB / 0.5635 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1317, allocations: 4.062 kB / 0.5635 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1317, allocations: 0 / 0.5635 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.132, allocations: 246.1 kB / 0.5637 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.132, allocations: 3.938 kB / 0.5637 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.1322, allocations: 43.95 kB / 0.5638 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1322, allocations: 3.953 kB / 0.5638 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1322, allocations: 0 / 0.5638 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1322, allocations: 0 / 0.5638 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1322, allocations: 0 / 0.5638 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.1328, allocations: 323.2 kB / 0.5641 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.1328, allocations: 85.02 kB / 0.5642 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.1329, allocations: 3.953 kB / 0.5642 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.1331, allocations: 47.95 kB / 0.5642 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.1332, allocations: 7.984 kB / 0.5642 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1332, allocations: 7.984 kB / 0.5642 GB, free: 3.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.1333, allocations: 105.2 kB / 0.5643 GB, free: 3.664 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1333, allocations: 0 / 0.5643 GB, free: 3.664 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1335, allocations: 27.91 kB / 0.5644 GB, free: 3.637 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008134/0.1343, allocations: 0.8574 MB / 0.5652 GB, free: 2.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005459/0.1349, allocations: 191.8 kB / 0.5654 GB, free: 2.566 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1349, allocations: 4.125 kB / 0.5654 GB, free: 2.562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.1352, allocations: 103.8 kB / 0.5655 GB, free: 2.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.1355, allocations: 11.94 kB / 0.5655 GB, free: 2.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.1371, allocations: 0.9185 MB / 0.5664 GB, free: 1.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.1373, allocations: 0.7004 MB / 0.5671 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.246e-05/0.1374, allocations: 16.17 kB / 0.5671 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.1375, allocations: 35.36 kB / 0.5671 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1375, allocations: 0 / 0.5671 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.1481, allocations: 2.408 MB / 0.5695 GB, free: 14.43 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001311/0.1483, allocations: 185.5 kB / 0.5697 GB, free: 14.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/1.637, allocations: 0 / 0.5697 GB, free: 14.18 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: