Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001944/0.001944, allocations: 103.4 kB / 16.4 MB, free: 6.438 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.00209/0.00209, allocations: 195.4 kB / 17.34 MB, free: 5.746 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.527/1.527, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8129/0.8129, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002148, allocations: 67.61 kB / 0.5572 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2437, allocations: 76.19 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Interpolate): time 0.004697/0.2485, allocations: 1.448 MB / 0.633 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.2502, allocations: 0.7837 MB / 0.6338 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.2503, allocations: 0 / 0.6338 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.2506, allocations: 135.8 kB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008869/0.2515, allocations: 183.6 kB / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.2518, allocations: 71.8 kB / 0.6342 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.252, allocations: 63.86 kB / 0.6342 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2521, allocations: 4 kB / 0.6342 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.2523, allocations: 43.83 kB / 0.6343 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.2525, allocations: 83.84 kB / 0.6343 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.2525, allocations: 4 kB / 0.6343 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000623/0.2531, allocations: 231.7 kB / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.2533, allocations: 103.7 kB / 0.6347 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.2535, allocations: 95.22 kB / 0.6348 GB, free: 1.648 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006716/0.2542, allocations: 353.7 kB / 0.6351 GB, free: 1.305 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2542, allocations: 0 / 0.6351 GB, free: 1.305 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2542, allocations: 0 / 0.6351 GB, free: 1.305 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.2542, allocations: 0 / 0.6351 GB, free: 1.305 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.001082/0.2553, allocations: 0.6115 MB / 0.6357 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.2554, allocations: 12.03 kB / 0.6357 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.2554, allocations: 30.75 kB / 0.6357 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.2555, allocations: 36.47 kB / 0.6358 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.2566, allocations: 0.916 MB / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2566, allocations: 4.359 kB / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.2567, allocations: 4.375 kB / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.2569, allocations: 85.78 kB / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2569, allocations: 0 / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2569, allocations: 7.938 kB / 0.6368 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.257, allocations: 0 / 0.6368 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.2572, allocations: 99.92 kB / 0.6369 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.2581, allocations: 0.5826 MB / 0.6374 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2583, allocations: 102.5 kB / 0.6375 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.2584, allocations: 56.89 kB / 0.6376 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.047e-05/0.2585, allocations: 19.98 kB / 0.6376 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.2585, allocations: 38.5 kB / 0.6376 GB, free: 14.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.2585, allocations: 0 / 0.6376 GB, free: 14.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005215/0.259, allocations: 209.2 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.2591, allocations: 55.53 kB / 0.6379 GB, free: 14.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.2603, allocations: 1.209 MB / 0.6391 GB, free: 13.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2604, allocations: 29.7 kB / 0.6391 GB, free: 12.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.2605, allocations: 176 kB / 0.6393 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.2605, allocations: 7.906 kB / 0.6393 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.2606, allocations: 17.7 kB / 0.6393 GB, free: 12.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2608, allocations: 346.8 kB / 0.6396 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.2609, allocations: 59.95 kB / 0.6397 GB, free: 12.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.2611, allocations: 47.97 kB / 0.6397 GB, free: 12.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.2613, allocations: 104.7 kB / 0.6398 GB, free: 12.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2613, allocations: 0 / 0.6398 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003389/0.2616, allocations: 173.2 kB / 0.64 GB, free: 12.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2617, allocations: 4 kB / 0.64 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2617, allocations: 3.938 kB / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2617, allocations: 0 / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.2618, allocations: 11.98 kB / 0.64 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2618, allocations: 0 / 0.64 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.271e-05/0.2619, allocations: 4 kB / 0.64 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2619, allocations: 0 / 0.64 GB, free: 12.03 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 (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 prepare postOptimizeDAE: time 0.0001572/0.2621, allocations: 169.7 kB / 0.6402 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.2622, allocations: 35.66 kB / 0.6402 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.2625, allocations: 180 kB / 0.6404 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2626, allocations: 0 / 0.6404 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2626, allocations: 4 kB / 0.6404 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2626, allocations: 0 / 0.6404 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.2629, allocations: 293.5 kB / 0.6407 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2629, allocations: 0 / 0.6407 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.2629, allocations: 4 kB / 0.6407 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.263, allocations: 8.031 kB / 0.6407 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.263, allocations: 0 / 0.6407 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.263, allocations: 3.984 kB / 0.6407 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.263, allocations: 0 / 0.6407 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.2634, allocations: 266.9 kB / 0.6409 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.2635, allocations: 124.7 kB / 0.641 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.2636, allocations: 8.031 kB / 0.6411 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2637, allocations: 4 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.2637, allocations: 3.984 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.2637, allocations: 4 kB / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009081/0.2646, allocations: 0.9481 MB / 0.642 GB, free: 9.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2646, allocations: 0 / 0.642 GB, free: 9.898 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004094/0.2651, allocations: 72 kB / 0.6421 GB, free: 9.828 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.0009002/0.266, allocations: 0.8526 MB / 0.6429 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.2663, allocations: 95.94 kB / 0.643 GB, free: 8.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2663, allocations: 4.031 kB / 0.643 GB, free: 8.852 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.2664, allocations: 67.89 kB / 0.6431 GB, free: 8.785 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.2667, allocations: 18.97 kB / 0.6431 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009819/0.2766, allocations: 6.749 MB / 0.6497 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.2772, allocations: 0.7856 MB / 0.6504 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.2774, allocations: 46.92 kB / 0.6505 GB, free: 1.082 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.2776, allocations: 91.41 kB / 0.6506 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of SimCode: time 4.218e-06/0.2776, allocations: 0 / 0.6506 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8283/1.106, allocations: 7.23 MB / 0.6576 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.49, allocations: 15.88 kB / 0.6576 GB, free: 9.844 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe 2>&1)