Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002187/0.002187, allocations: 286.9 kB / 304.7 MB, free: 3.422 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.955/0.955, allocations: 180.9 MB / 0.5281 GB, free: 1.98 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002585/0.002585, allocations: 103.8 kB / 0.7277 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4147, allocations: 94.15 MB / 0.8197 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002336/0.417, allocations: 1.497 MB / 0.8211 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.4182, allocations: 0.807 MB / 0.8219 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.4182, allocations: 1.094 kB / 0.8219 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.4184, allocations: 122.5 kB / 0.822 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.4189, allocations: 179.8 kB / 0.8222 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.4191, allocations: 76.67 kB / 0.8223 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.095e-05/0.4192, allocations: 65.95 kB / 0.8223 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.063e-05/0.4192, allocations: 14.11 kB / 0.8223 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.258e-05/0.4193, allocations: 39.02 kB / 0.8224 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.4194, allocations: 101.7 kB / 0.8225 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.4194, allocations: 2.469 kB / 0.8225 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.4198, allocations: 227.4 kB / 0.8227 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.4199, allocations: 114.4 kB / 0.8228 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/0.42, allocations: 91.53 kB / 0.8229 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.4204, allocations: 354.9 kB / 0.8232 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4204, allocations: 0 / 0.8232 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4204, allocations: 0 / 0.8232 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4204, allocations: 1.031 kB / 0.8232 GB, free: 1.977 MB / 0.5606 GB 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.0007719/0.4211, allocations: 0.6201 MB / 0.8238 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.4212, allocations: 10.53 kB / 0.8239 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.4212, allocations: 34.75 kB / 0.8239 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.4213, allocations: 35.23 kB / 0.8239 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007842/0.422, allocations: 0.9142 MB / 0.8248 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.4221, allocations: 1.875 kB / 0.8248 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.4221, allocations: 1.75 kB / 0.8248 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.4222, allocations: 92.75 kB / 0.8249 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4223, allocations: 1.375 kB / 0.8249 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.4223, allocations: 0 / 0.8249 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.4223, allocations: 0 / 0.8249 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.4225, allocations: 104.7 kB / 0.825 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005844/0.423, allocations: 0.5792 MB / 0.8256 GB, free: 360 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.4232, allocations: 108.4 kB / 0.8257 GB, free: 304 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.4233, allocations: 51.36 kB / 0.8257 GB, free: 284 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.4234, allocations: 30.67 kB / 0.8258 GB, free: 268 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.4234, allocations: 31.81 kB / 0.8258 GB, free: 228 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4234, allocations: 3.938 kB / 0.8258 GB, free: 224 kB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000449/0.4238, allocations: 215.3 kB / 0.826 GB, free: 120 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.4239, allocations: 52.97 kB / 0.826 GB, free: 56 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.425, allocations: 1.213 MB / 0.8272 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.425, allocations: 25.7 kB / 0.8273 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.4251, allocations: 175.6 kB / 0.8274 GB, free: 15.37 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.4251, allocations: 9.375 kB / 0.8274 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.4252, allocations: 11.94 kB / 0.8274 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4253, allocations: 351.1 kB / 0.8278 GB, free: 15 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.4254, allocations: 53.52 kB / 0.8278 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.264e-05/0.4255, allocations: 54.09 kB / 0.8279 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.4257, allocations: 106 kB / 0.828 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4257, allocations: 0 / 0.828 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00027/0.426, allocations: 165.9 kB / 0.8281 GB, free: 14.84 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.426, allocations: 9.562 kB / 0.8281 GB, free: 14.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.426, allocations: 4.094 kB / 0.8281 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.426, allocations: 1.438 kB / 0.8282 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.4261, allocations: 9.266 kB / 0.8282 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.4261, allocations: 1.906 kB / 0.8282 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.4261, allocations: 7.625 kB / 0.8282 GB, free: 14.82 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.4262, allocations: 0.75 kB / 0.8282 GB, free: 14.82 MB / 0.5763 GB 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.0001363/0.4263, allocations: 173.5 kB / 0.8283 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.4263, allocations: 34.36 kB / 0.8284 GB, free: 14.66 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.4266, allocations: 178.1 kB / 0.8285 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4266, allocations: 0 / 0.8285 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4267, allocations: 1.188 kB / 0.8285 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4267, allocations: 0 / 0.8285 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.427, allocations: 298.5 kB / 0.8288 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.427, allocations: 0 / 0.8288 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.427, allocations: 6.344 kB / 0.8288 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.427, allocations: 0 / 0.8288 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.427, allocations: 5.188 kB / 0.8288 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.427, allocations: 3.984 kB / 0.8288 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.427, allocations: 1.188 kB / 0.8288 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.4273, allocations: 261.2 kB / 0.8291 GB, free: 14.11 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.4274, allocations: 132.6 kB / 0.8292 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.4275, allocations: 7.625 kB / 0.8292 GB, free: 13.97 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.4276, allocations: 7.031 kB / 0.8292 GB, free: 13.97 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.4276, allocations: 9.547 kB / 0.8292 GB, free: 13.96 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.4276, allocations: 0 / 0.8292 GB, free: 13.96 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0008078/0.4284, allocations: 0.9509 MB / 0.8302 GB, free: 13.56 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.4284, allocations: 0 / 0.8302 GB, free: 13.56 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003326/0.4287, allocations: 70.62 kB / 0.8302 GB, free: 13.55 MB / 0.5763 GB 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.0007471/0.4295, allocations: 0.8526 MB / 0.8311 GB, free: 12.81 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.4297, allocations: 101.9 kB / 0.8312 GB, free: 12.78 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4297, allocations: 1.812 kB / 0.8312 GB, free: 12.78 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.4298, allocations: 59.33 kB / 0.8312 GB, free: 12.76 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.4301, allocations: 22.06 kB / 0.8312 GB, free: 12.75 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006282/0.4364, allocations: 6.754 MB / 0.8378 GB, free: 9.504 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.4368, allocations: 0.782 MB / 0.8386 GB, free: 8.758 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 7.655e-05/0.4369, allocations: 46.69 kB / 0.8386 GB, free: 8.734 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.437, allocations: 88.25 kB / 0.8387 GB, free: 8.66 MB / 0.5763 GB Notification: Performance of SimCode: time 7.92e-07/0.437, allocations: 0 / 0.8387 GB, free: 8.66 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.4738, allocations: 7.165 MB / 0.8457 GB, free: 2.84 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.759, allocations: 11.89 kB / 0.8457 GB, free: 2.836 MB / 0.5763 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.110709009997663]