Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",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.0006873/0.0006873, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007191/0.000719, allocations: 175.1 kB / 16.58 MB, free: 6.504 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.173/1.173, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6099/0.6099, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 12 kB / 493.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 77.12 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0005865/0.1235, allocations: 331 kB / 0.5572 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1251, allocations: 1.379 MB / 0.5586 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.1252, allocations: 0 / 0.5586 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/0.1252, allocations: 4 kB / 0.5586 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.84e-05/0.1253, allocations: 7.922 kB / 0.5586 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.1258, allocations: 155.2 kB / 0.5587 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.175e-05/0.1259, allocations: 23.97 kB / 0.5588 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.1259, allocations: 7.938 kB / 0.5588 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.631e-05/0.1259, allocations: 15.98 kB / 0.5588 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.126, allocations: 23.91 kB / 0.5588 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.126, allocations: 4 kB / 0.5588 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.1263, allocations: 223.7 kB / 0.559 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.1263, allocations: 15.92 kB / 0.559 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.1264, allocations: 33.7 kB / 0.5591 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1265, allocations: 139.8 kB / 0.5592 GB, free: 9.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1266, allocations: 0 / 0.5592 GB, free: 9.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1266, allocations: 0 / 0.5592 GB, free: 9.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.1266, allocations: 0 / 0.5592 GB, free: 9.285 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003077/0.1269, allocations: 397.2 kB / 0.5596 GB, free: 8.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1269, allocations: 15.97 kB / 0.5596 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.784e-05/0.127, allocations: 30.56 kB / 0.5596 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.127, allocations: 7.906 kB / 0.5596 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/0.1271, allocations: 174.9 kB / 0.5598 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1271, allocations: 8 kB / 0.5598 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.1271, allocations: 0 / 0.5598 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1273, allocations: 81.59 kB / 0.5599 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.1273, allocations: 0 / 0.5599 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1273, allocations: 0 / 0.5599 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.1273, allocations: 0 / 0.5599 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.245e-05/0.1273, allocations: 35.97 kB / 0.5599 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.1275, allocations: 161.7 kB / 0.5601 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.1276, allocations: 66.48 kB / 0.5601 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.805e-05/0.1276, allocations: 56.86 kB / 0.5602 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.1276, allocations: 0 / 0.5602 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.1277, allocations: 30.56 kB / 0.5602 GB, free: 8.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.1277, allocations: 0 / 0.5602 GB, free: 8.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002634/0.1279, allocations: 187.2 kB / 0.5604 GB, free: 7.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.128, allocations: 89.03 kB / 0.5605 GB, free: 7.762 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.1281, allocations: 113.8 kB / 0.5606 GB, free: 7.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1281, allocations: 33.73 kB / 0.5606 GB, free: 7.602 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.1281, allocations: 80.14 kB / 0.5607 GB, free: 7.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.1281, allocations: 31.78 kB / 0.5607 GB, free: 7.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1282, allocations: 0 / 0.5607 GB, free: 7.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.1282, allocations: 314.8 kB / 0.561 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.1283, allocations: 35.97 kB / 0.5611 GB, free: 7.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.167e-05/0.1283, allocations: 35.97 kB / 0.5611 GB, free: 7.102 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.934e-05/0.1284, allocations: 61.69 kB / 0.5612 GB, free: 7.035 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1284, allocations: 0 / 0.5612 GB, free: 7.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001615/0.1286, allocations: 159.3 kB / 0.5613 GB, free: 6.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.1286, allocations: 33.7 kB / 0.5613 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1286, allocations: 0 / 0.5613 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1287, allocations: 3.953 kB / 0.5613 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-06/0.1287, allocations: 3.984 kB / 0.5613 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.1287, allocations: 7.875 kB / 0.5614 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.796e-05/0.1287, allocations: 8 kB / 0.5614 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.1288, allocations: 8 kB / 0.5614 GB, free: 6.797 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.211e-05/0.1289, allocations: 144.2 kB / 0.5615 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.1289, allocations: 15.92 kB / 0.5615 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.575e-05/0.1289, allocations: 8.375 kB / 0.5615 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1289, allocations: 0 / 0.5615 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1289, allocations: 3.953 kB / 0.5615 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1289, allocations: 3.938 kB / 0.5615 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.408e-05/0.129, allocations: 165.7 kB / 0.5617 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.129, allocations: 4 kB / 0.5617 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.129, allocations: 0 / 0.5617 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.129, allocations: 7.984 kB / 0.5617 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1291, allocations: 0 / 0.5617 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1291, allocations: 4 kB / 0.5617 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1291, allocations: 4 kB / 0.5617 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1293, allocations: 199.2 kB / 0.5619 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.1293, allocations: 77.11 kB / 0.562 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1293, allocations: 4 kB / 0.562 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.311e-05/0.1294, allocations: 7.984 kB / 0.562 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.1294, allocations: 3.938 kB / 0.562 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1294, allocations: 8 kB / 0.562 GB, free: 6.043 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.416e-05/0.1295, allocations: 103.2 kB / 0.5621 GB, free: 5.941 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1295, allocations: 0 / 0.5621 GB, free: 5.941 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1297, allocations: 71.98 kB / 0.5622 GB, free: 5.871 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005744/0.1303, allocations: 0.7904 MB / 0.5629 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1305, allocations: 199.3 kB / 0.5631 GB, free: 4.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1305, allocations: 0 / 0.5631 GB, free: 4.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1307, allocations: 155.3 kB / 0.5633 GB, free: 4.676 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.1308, allocations: 4 kB / 0.5633 GB, free: 4.672 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.1312, allocations: 228.3 kB / 0.5635 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.1314, allocations: 0.6848 MB / 0.5642 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.468e-06/0.1314, allocations: 8.125 kB / 0.5642 GB, free: 3.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.1314, allocations: 11.44 kB / 0.5642 GB, free: 3.68 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1314, allocations: 0 / 0.5642 GB, free: 3.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.143, allocations: 2.819 MB / 0.5669 GB, free: 1.016 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.1432, allocations: 201.3 kB / 0.5671 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.45/1.593, allocations: 0 / 0.5671 GB, free: 0.7695 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) Environment - environmentSimulation: