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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 180.9 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5282/0.5282, allocations: 90.92 MB / 99.35 MB, free: 2.164 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001103, allocations: 90.77 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.729e-05, allocations: 8 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1608, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5454/0.7063, allocations: 101.8 MB / 0.653 GB, free: 8.242 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.7066, allocations: 83.56 kB / 0.6531 GB, free: 8.195 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01053/0.7171, allocations: 3.533 MB / 0.6565 GB, free: 5.109 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7172, allocations: 0 / 0.6565 GB, free: 5.109 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.7172, allocations: 0 / 0.6565 GB, free: 5.109 MB / 458.7 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.000408/0.7176, allocations: 403.2 kB / 0.6569 GB, free: 4.672 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.7176, allocations: 12.03 kB / 0.6569 GB, free: 4.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.7177, allocations: 7.859 kB / 0.6569 GB, free: 4.652 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.7178, allocations: 167.1 kB / 0.6571 GB, free: 4.449 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.7178, allocations: 4 kB / 0.6571 GB, free: 4.445 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.7179, allocations: 3.938 kB / 0.6571 GB, free: 4.441 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.233e-05/0.718, allocations: 27.91 kB / 0.6571 GB, free: 4.418 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.7181, allocations: 69.33 kB / 0.6572 GB, free: 4.348 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.7181, allocations: 0 / 0.6572 GB, free: 4.348 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.7181, allocations: 0 / 0.6572 GB, free: 4.348 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.7181, allocations: 3.953 kB / 0.6572 GB, free: 4.344 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.7182, allocations: 141.7 kB / 0.6573 GB, free: 4.172 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.526e-05/0.7183, allocations: 55.61 kB / 0.6574 GB, free: 4.117 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.7184, allocations: 39.06 kB / 0.6574 GB, free: 4.086 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.7184, allocations: 0 / 0.6574 GB, free: 4.086 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.7184, allocations: 33.81 kB / 0.6575 GB, free: 4.047 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.7184, allocations: 0 / 0.6575 GB, free: 4.047 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003106/0.7188, allocations: 108 kB / 0.6576 GB, free: 3.941 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.7188, allocations: 81.11 kB / 0.6577 GB, free: 3.844 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.7189, allocations: 108.5 kB / 0.6578 GB, free: 3.734 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.7189, allocations: 25.7 kB / 0.6578 GB, free: 3.703 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.719, allocations: 83.27 kB / 0.6579 GB, free: 3.621 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.719, allocations: 19.34 kB / 0.6579 GB, free: 3.605 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/0.719, allocations: 0 / 0.6579 GB, free: 3.605 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.7192, allocations: 326 kB / 0.6582 GB, free: 3.281 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.7192, allocations: 19.92 kB / 0.6582 GB, free: 3.266 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.052e-05/0.7193, allocations: 26.66 kB / 0.6582 GB, free: 3.242 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.7194, allocations: 31.91 kB / 0.6583 GB, free: 3.215 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7195, allocations: 4.031 kB / 0.6583 GB, free: 3.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003073/0.7198, allocations: 93.14 kB / 0.6584 GB, free: 3.121 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.7198, allocations: 37.69 kB / 0.6584 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.7198, allocations: 3.938 kB / 0.6584 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.7199, allocations: 0 / 0.6584 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.7199, allocations: 0 / 0.6584 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.7199, allocations: 0 / 0.6584 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.7199, allocations: 11.84 kB / 0.6584 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.72, allocations: 11.98 kB / 0.6584 GB, free: 3.051 MB / 458.7 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 () * 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 0.0001171/0.7201, allocations: 149.8 kB / 0.6586 GB, free: 2.895 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003254/0.7205, allocations: 110.2 kB / 0.6587 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.7205, allocations: 8.781 kB / 0.6587 GB, free: 2.785 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/0.7205, allocations: 8.609 kB / 0.6587 GB, free: 2.781 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7205, allocations: 0 / 0.6587 GB, free: 2.781 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7205, allocations: 0 / 0.6587 GB, free: 2.781 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7205, allocations: 0 / 0.6587 GB, free: 2.781 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.7207, allocations: 149.3 kB / 0.6588 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7207, allocations: 0 / 0.6588 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-06/0.7207, allocations: 4 kB / 0.6588 GB, free: 2.598 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.7207, allocations: 11.88 kB / 0.6588 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.7207, allocations: 7.344 kB / 0.6588 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7208, allocations: 4 kB / 0.6588 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7208, allocations: 0 / 0.6588 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.7211, allocations: 152.5 kB / 0.659 GB, free: 2.426 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.7212, allocations: 81.09 kB / 0.6591 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.7212, allocations: 4 kB / 0.6591 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.7212, allocations: 0 / 0.6591 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.7213, allocations: 4 kB / 0.6591 GB, free: 2.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.7213, allocations: 12.03 kB / 0.6591 GB, free: 2.309 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.816e-05/0.7213, allocations: 95.02 kB / 0.6592 GB, free: 2.219 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7214, allocations: 0 / 0.6592 GB, free: 2.219 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003386/0.7217, allocations: 83.36 kB / 0.6593 GB, free: 2.141 MB / 458.7 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 () * 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.0007111/0.7224, allocations: 0.7601 MB / 0.66 GB, free: 1.363 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.7226, allocations: 167.2 kB / 0.6602 GB, free: 1.227 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7226, allocations: 0 / 0.6602 GB, free: 1.227 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.7227, allocations: 136.4 kB / 0.6603 GB, free: 1.113 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.7228, allocations: 0 / 0.6603 GB, free: 1.113 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.7232, allocations: 182.4 kB / 0.6605 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.7236, allocations: 0.6846 MB / 0.6611 GB, free: 200 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.04e-05/0.7236, allocations: 7.969 kB / 0.6611 GB, free: 192 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.7236, allocations: 14.38 kB / 0.6612 GB, free: 184 kB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7236, allocations: 4.125 kB / 0.6612 GB, free: 180 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.7446, allocations: 2.389 MB / 0.6635 GB, free: 13.81 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.7449, allocations: 150 kB / 0.6636 GB, free: 13.62 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.305, allocations: 3.938 kB / 0.6636 GB, free: 13.61 MB / 474.7 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)