Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.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.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",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.00191/0.001909, allocations: 109.5 kB / 16.41 MB, free: 6.5 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.002031/0.002031, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.606/2.606, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.279/1.279, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 66.27 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2496, allocations: 76.18 MB / 0.6316 GB, free: 4.84 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Interpolate): time 0.004064/0.2538, allocations: 1.49 MB / 0.6331 GB, free: 3.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.2556, allocations: 0.7322 MB / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.2557, allocations: 0 / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.256, allocations: 143.7 kB / 0.6339 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.2562, allocations: 67.84 kB / 0.634 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009088/0.2571, allocations: 182 kB / 0.6342 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.2573, allocations: 63.81 kB / 0.6342 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.2573, allocations: 4 kB / 0.6342 GB, free: 2.152 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.427e-05/0.2574, allocations: 39.89 kB / 0.6343 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.2576, allocations: 79.84 kB / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.2577, allocations: 3.984 kB / 0.6344 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005907/0.2583, allocations: 227.7 kB / 0.6346 GB, free: 1.809 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.2584, allocations: 59.83 kB / 0.6346 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.571e-05/0.2585, allocations: 55.48 kB / 0.6347 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.2591, allocations: 278 kB / 0.635 GB, free: 1.426 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2591, allocations: 0 / 0.635 GB, free: 1.426 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2591, allocations: 4 kB / 0.635 GB, free: 1.422 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.2591, allocations: 0 / 0.635 GB, free: 1.422 MB / 478.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.0009509/0.2601, allocations: 0.5069 MB / 0.6355 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.2601, allocations: 8.031 kB / 0.6355 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.2602, allocations: 34.75 kB / 0.6355 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.2603, allocations: 20.66 kB / 0.6355 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.2607, allocations: 251.7 kB / 0.6358 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2607, allocations: 384 / 0.6358 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.2607, allocations: 8.359 kB / 0.6358 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.261, allocations: 81.73 kB / 0.6358 GB, free: 428 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.261, allocations: 3.938 kB / 0.6358 GB, free: 424 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2611, allocations: 0 / 0.6358 GB, free: 424 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2611, allocations: 7.984 kB / 0.6358 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.2614, allocations: 79.94 kB / 0.6359 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.2623, allocations: 400.7 kB / 0.6363 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.2625, allocations: 86.52 kB / 0.6364 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.2627, allocations: 52.83 kB / 0.6364 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.697e-05/0.2628, allocations: 19.97 kB / 0.6365 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.2629, allocations: 34.56 kB / 0.6365 GB, free: 15.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.522e-06/0.2629, allocations: 4 kB / 0.6365 GB, free: 15.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006699/0.2635, allocations: 181.2 kB / 0.6367 GB, free: 15.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.2636, allocations: 51.41 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.2642, allocations: 355.2 kB / 0.6371 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.2642, allocations: 29.69 kB / 0.6371 GB, free: 15.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.2644, allocations: 136.1 kB / 0.6372 GB, free: 14.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.2644, allocations: 11.97 kB / 0.6372 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.2645, allocations: 25.7 kB / 0.6373 GB, free: 14.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.2647, allocations: 338.8 kB / 0.6376 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.265, allocations: 95.89 kB / 0.6377 GB, free: 14.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.2652, allocations: 99.94 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.2657, allocations: 204.8 kB / 0.638 GB, free: 14.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2657, allocations: 0 / 0.638 GB, free: 14.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000595/0.2663, allocations: 256.1 kB / 0.6382 GB, free: 13.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.2663, allocations: 4 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2664, allocations: 4 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2664, allocations: 0 / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.2665, allocations: 7.984 kB / 0.6382 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2666, allocations: 0 / 0.6382 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.2667, allocations: 19.84 kB / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2667, allocations: 0 / 0.6382 GB, free: 13.83 MB / 494.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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 0.0001855/0.2669, allocations: 149.7 kB / 0.6384 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.267, allocations: 19.72 kB / 0.6384 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.2674, allocations: 150.5 kB / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.2675, allocations: 4 kB / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2675, allocations: 0 / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2675, allocations: 4.031 kB / 0.6385 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.2679, allocations: 245.5 kB / 0.6388 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2679, allocations: 0 / 0.6388 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.68e-05/0.268, allocations: 11.98 kB / 0.6388 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.268, allocations: 0 / 0.6388 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.268, allocations: 0 / 0.6388 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.268, allocations: 0 / 0.6388 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.268, allocations: 0 / 0.6388 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.2685, allocations: 239.1 kB / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.2687, allocations: 104.8 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.2687, allocations: 0 / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.2689, allocations: 7.984 kB / 0.6391 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.269, allocations: 4 kB / 0.6391 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.269, allocations: 0 / 0.6391 GB, free: 12.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00039/0.2694, allocations: 249.9 kB / 0.6394 GB, free: 12.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2694, allocations: 4.031 kB / 0.6394 GB, free: 12.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006349/0.27, allocations: 68 kB / 0.6394 GB, free: 12.49 MB / 494.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.001128/0.2712, allocations: 0.8252 MB / 0.6402 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005158/0.2717, allocations: 155.9 kB / 0.6404 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2717, allocations: 0 / 0.6404 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.2719, allocations: 47.97 kB / 0.6404 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.2725, allocations: 12.66 kB / 0.6405 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/0.2775, allocations: 2.72 MB / 0.6431 GB, free: 8.629 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.278, allocations: 0.7353 MB / 0.6438 GB, free: 7.867 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.974e-05/0.2781, allocations: 20.55 kB / 0.6438 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2782, allocations: 59.36 kB / 0.6439 GB, free: 7.789 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/0.2782, allocations: 3.938 kB / 0.6439 GB, free: 7.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3393/0.6176, allocations: 4.342 MB / 0.6481 GB, free: 3.559 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.66, allocations: 3.984 kB / 0.6481 GB, free: 3.555 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)