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.005021/0.005021, allocations: 101 kB / 15.87 MB, free: 6.312 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.00122/0.00122, allocations: 195.2 kB / 16.79 MB, free: 6.242 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.302/1.302, 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.6922/0.6922, allocations: 115.3 MB / 406 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.59 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1181, allocations: 76.17 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00158/0.1197, allocations: 0.6706 MB / 0.5565 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1214, allocations: 1.469 MB / 0.5579 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.1214, allocations: 3.938 kB / 0.5579 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.1215, allocations: 4 kB / 0.5579 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.189e-05/0.1215, allocations: 0 / 0.5579 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.122, allocations: 163 kB / 0.5581 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.965e-05/0.1221, allocations: 31.97 kB / 0.5581 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.1221, allocations: 4 kB / 0.5581 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.755e-05/0.1222, allocations: 19.91 kB / 0.5582 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.1222, allocations: 23.97 kB / 0.5582 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1222, allocations: 4 kB / 0.5582 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.1226, allocations: 239.7 kB / 0.5584 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.1226, allocations: 7.938 kB / 0.5584 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.1227, allocations: 15.92 kB / 0.5584 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1229, allocations: 211.5 kB / 0.5586 GB, free: 7.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1229, allocations: 0 / 0.5586 GB, free: 7.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1229, allocations: 0 / 0.5586 GB, free: 7.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1229, allocations: 0 / 0.5586 GB, free: 7.852 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.0003275/0.1233, allocations: 401.3 kB / 0.559 GB, free: 7.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1233, allocations: 20.02 kB / 0.559 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.1234, allocations: 30.75 kB / 0.5591 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.1234, allocations: 8.938 kB / 0.5591 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.012e-05/0.1235, allocations: 176.2 kB / 0.5592 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1235, allocations: 4.312 kB / 0.5593 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1235, allocations: 4.375 kB / 0.5593 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1236, allocations: 77.72 kB / 0.5593 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.1237, allocations: 0 / 0.5593 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1237, allocations: 0 / 0.5593 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-06/0.1237, allocations: 0 / 0.5593 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.506e-05/0.1237, allocations: 43.97 kB / 0.5594 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.1239, allocations: 161.7 kB / 0.5595 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.666e-05/0.1239, allocations: 70.42 kB / 0.5596 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.124, allocations: 52.86 kB / 0.5596 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.124, allocations: 0 / 0.5596 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.124, allocations: 34.5 kB / 0.5597 GB, free: 6.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.124, allocations: 0 / 0.5597 GB, free: 6.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002681/0.1243, allocations: 191.2 kB / 0.5599 GB, free: 6.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1244, allocations: 77.11 kB / 0.5599 GB, free: 6.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.1244, allocations: 118.3 kB / 0.56 GB, free: 6.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.1245, allocations: 25.7 kB / 0.5601 GB, free: 6.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.1245, allocations: 80.14 kB / 0.5601 GB, free: 6.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.1245, allocations: 27.64 kB / 0.5602 GB, free: 6.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.1246, allocations: 21.66 kB / 0.5602 GB, free: 6.027 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.1247, allocations: 322.9 kB / 0.5605 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.1247, allocations: 39.97 kB / 0.5605 GB, free: 5.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/0.1248, allocations: 36.2 kB / 0.5606 GB, free: 5.629 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1249, allocations: 148.3 kB / 0.5607 GB, free: 5.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1249, allocations: 0 / 0.5607 GB, free: 5.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001647/0.1251, allocations: 147.3 kB / 0.5609 GB, free: 5.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.1251, allocations: 37.69 kB / 0.5609 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1251, allocations: 4 kB / 0.5609 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.1252, allocations: 0 / 0.5609 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1252, allocations: 0 / 0.5609 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1252, allocations: 4.062 kB / 0.5609 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.1253, allocations: 15.83 kB / 0.5609 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.1253, allocations: 8 kB / 0.5609 GB, free: 5.238 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.002e-05/0.1254, allocations: 143.5 kB / 0.5611 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.1254, allocations: 7.938 kB / 0.5611 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.001e-05/0.1254, allocations: 8.375 kB / 0.5611 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1254, allocations: 3.984 kB / 0.5611 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1254, allocations: 4 kB / 0.5611 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-06/0.1254, allocations: 0 / 0.5611 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.124e-05/0.1255, allocations: 169.6 kB / 0.5612 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1255, allocations: 0 / 0.5612 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.1255, allocations: 3.938 kB / 0.5612 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1255, allocations: 0 / 0.5612 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1256, allocations: 4 kB / 0.5612 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1256, allocations: 7.875 kB / 0.5613 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1256, allocations: 7.984 kB / 0.5613 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.1258, allocations: 194.8 kB / 0.5615 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.1258, allocations: 88.98 kB / 0.5615 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1258, allocations: 4 kB / 0.5615 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.1259, allocations: 8 kB / 0.5615 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.1259, allocations: 7.922 kB / 0.5616 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1259, allocations: 4 kB / 0.5616 GB, free: 4.477 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.146e-05/0.126, allocations: 95.27 kB / 0.5616 GB, free: 4.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.126, allocations: 0 / 0.5616 GB, free: 4.383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1263, allocations: 72 kB / 0.5617 GB, free: 4.312 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 (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.0005869/0.1268, allocations: 0.7937 MB / 0.5625 GB, free: 3.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1271, allocations: 195.3 kB / 0.5627 GB, free: 3.281 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1271, allocations: 0 / 0.5627 GB, free: 3.281 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.1272, allocations: 155.3 kB / 0.5628 GB, free: 3.117 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.1273, allocations: 7.156 kB / 0.5628 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.1277, allocations: 236.6 kB / 0.5631 GB, free: 2.844 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.1279, allocations: 0.6848 MB / 0.5637 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.649e-06/0.1279, allocations: 0 / 0.5637 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.128, allocations: 15.42 kB / 0.5637 GB, free: 2.117 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.128, allocations: 0 / 0.5637 GB, free: 2.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.632/0.76, allocations: 2.907 MB / 0.5666 GB, free: 15.32 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003351/0.7604, allocations: 211 kB / 0.5668 GB, free: 15.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.646, allocations: 3.5 kB / 0.5668 GB, free: 15.06 MB / 446.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/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)